New submission from Boštjan Mejak <bostjan.me...@gmail.com>:

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 ''.)

----------
assignee: d...@python
components: Documentation
messages: 119160
nosy: Retro, d...@python
priority: normal
severity: normal
status: open
title: Python Documentation bugs
versions: 3rd party, Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 
3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10147>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to