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

by -3.
This commit is contained in:
Brett Cannon 2008-08-01 01:34:05 +00:00
parent 5400b6b2e2
commit 791ec1fc13
1 changed files with 5 additions and 5 deletions

View File

@ -11,11 +11,11 @@ import string, re
# 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
# 2.3, e.g. Optik and Docutils).
try:
True, False
except NameError:
(True, False) = (1, 0)
# 2.3, e.g. Optik and Docutils) by uncommenting the block of code below.
#try:
# True, False
#except NameError:
# (True, False) = (1, 0)
__all__ = ['TextWrapper', 'wrap', 'fill']