Jim Jewett added the comment: 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' """ ---------- nosy: +Jim.Jewett _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26204> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com