Message150284
"an object is true" is a short way of saying "bool(obj) is True". So the docs match the behavior.
Returning the actual object instead of True/False from the "in" operator is a feature request. |
|
Date |
User |
Action |
Args |
2011-12-28 09:24:38 | georg.brandl | set | recipients:
+ georg.brandl, docs@python, JBernardo |
2011-12-28 09:24:38 | georg.brandl | set | messageid: <1325064278.32.0.170098322305.issue13667@psf.upfronthosting.co.za> |
2011-12-28 09:24:37 | georg.brandl | link | issue13667 messages |
2011-12-28 09:24:37 | georg.brandl | create | |
|