On 2/8/2016 4:51 PM, Victor Stinner wrote:
2016-02-08 22:28 GMT+01:00 Alexander Walters <tritium-l...@sdamon.com>:
What incantation do you need to do to make that behavior apparent?
I didn't know. I just checked. It's assert used with a non-empty tuple:
assert ("tuple",)
<stdin>:1: SyntaxWarning: assertion is always true, perhaps remove parentheses?
I think this should be left to linters also.
--
Terry Jan Reedy
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com