[New-bugs-announce] [issue17178] In all.__doc__ and any.__doc__ need to clarify the behaviour with an empty iterable like in documentation

py.user report at bugs.python.org
Mon Feb 11 06:47:24 CET 2013


New submission from py.user:

>>> help(all)

"
all(...)
    all(iterable) -> bool
    
    Return True if bool(x) is True for all values x in the iterable.
"

>>> all([])
True
>>> bool()
False
>>>

----------
assignee: docs at python
components: Documentation
messages: 181873
nosy: docs at python, py.user
priority: normal
severity: normal
status: open
title: In all.__doc__ and any.__doc__ need to clarify the behaviour with an empty iterable like in documentation
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17178>
_______________________________________


More information about the New-bugs-announce mailing list