This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients JBernardo, docs@python, georg.brandl
Date 2011-12-28.09:24:37
SpamBayes Score 0.0011327504
Marked as misclassified No
Message-id <1325064278.32.0.170098322305.issue13667@psf.upfronthosting.co.za>
In-reply-to
Content
"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.
History
Date User Action Args
2011-12-28 09:24:38georg.brandlsetrecipients: + georg.brandl, docs@python, JBernardo
2011-12-28 09:24:38georg.brandlsetmessageid: <1325064278.32.0.170098322305.issue13667@psf.upfronthosting.co.za>
2011-12-28 09:24:37georg.brandllinkissue13667 messages
2011-12-28 09:24:37georg.brandlcreate