mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Remove assignment to True/False to silence the SyntaxWarning that is triggered
by -3.
This commit is contained in:
parent
5400b6b2e2
commit
791ec1fc13
1 changed files with 5 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue