Message259959
I think the warning was helpful; it just had confusing wording.
Instead of: """
>>> def f():
... False
...
<stdin>:2: SyntaxWarning: ignore constant statement
"""
perhaps: """
>>> def f():
... False
...
<stdin>:2: SyntaxWarning: ignoring constant statement
"""
or even: """
>>> def f():
... False
...
<stdin>:2: SyntaxWarning: ignoring unused constant 'False'
""" |
|
Date |
User |
Action |
Args |
2016-02-09 22:38:06 | Jim.Jewett | set | recipients:
+ Jim.Jewett, georg.brandl, rhettinger, vstinner, Aaron.Meurer, python-dev, serhiy.storchaka, yselivanov, jayvdb |
2016-02-09 22:38:05 | Jim.Jewett | set | messageid: <1455057485.89.0.139242332521.issue26204@psf.upfronthosting.co.za> |
2016-02-09 22:38:05 | Jim.Jewett | link | issue26204 messages |
2016-02-09 22:38:05 | Jim.Jewett | create | |
|