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 Retro
Recipients Retro, docs@python
Date 2010-10-19.19:19:45
SpamBayes Score 0.00040944794
Marked as misclassified No
Message-id <1287515992.96.0.884562024831.issue10147@psf.upfronthosting.co.za>
In-reply-to
Content
Please read the docs here: http://docs.python.org/py3k/reference/expressions#boolean-operations

This is the last sentence in the '5.10. Boolean operations' text):
([...] Because not has to >>>invent<<< a value anyway, it does not bother to return a value of the same type as its argument, so e.g., not 'foo' yields False, not ''.)

Fix to:
([...] Because not has to >>>invert<<< a value anyway, it does not bother to return a value of the same type as its argument, so e.g., not 'foo' yields False, not ''.)
History
Date User Action Args
2010-10-19 19:19:53Retrosetrecipients: + Retro, docs@python
2010-10-19 19:19:52Retrosetmessageid: <1287515992.96.0.884562024831.issue10147@psf.upfronthosting.co.za>
2010-10-19 19:19:46Retrolinkissue10147 messages
2010-10-19 19:19:46Retrocreate