Kaydet (Commit) 791ec1fc authored tarafından Brett Cannon's avatar Brett Cannon

Remove assignment to True/False to silence the SyntaxWarning that is triggered

by -3.
üst 5400b6b2
...@@ -11,11 +11,11 @@ import string, re ...@@ -11,11 +11,11 @@ import string, re
# Do the right thing with boolean values for all known Python versions # Do the right thing with boolean values for all known Python versions
# (so this module can be copied to projects that don't depend on Python # (so this module can be copied to projects that don't depend on Python
# 2.3, e.g. Optik and Docutils). # 2.3, e.g. Optik and Docutils) by uncommenting the block of code below.
try: #try:
True, False # True, False
except NameError: #except NameError:
(True, False) = (1, 0) # (True, False) = (1, 0)
__all__ = ['TextWrapper', 'wrap', 'fill'] __all__ = ['TextWrapper', 'wrap', 'fill']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment