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 <rep...@bugs.python.org>
<http://bugs.python.org/issue23083>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to