Remove assignment to True/False to silence the SyntaxWarning that is triggered
by -3.
This commit is contained in:
parent
5400b6b2e2
commit
791ec1fc13
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in New Issue