[docs] [issue23083] sys.exit with bool parameter
Eric V. Smith
report at bugs.python.org
Thu Dec 18 16:17:02 CET 2014
Eric V. Smith added the comment:
I'm not sure this should be documented. It follows from int and bool equivalence. Plus, I consider it an anti-pattern.
We don't want to document everywhere you can pass a bool where an int is called for. That's thousands of places.
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23083>
_______________________________________
More information about the docs
mailing list