[docs] [issue31082] reduce takes iterable, not just sequence
report at bugs.python.org
Mon Aug 7 01:20:01 EDT 2017
Nick Coghlan added the comment:
Checking older versions of the docs, it looks like we simply haven't reworded those docs since Python 2.0 (when the "list" of the 1.5 docs became "sequence" for 2.0).
So I think the most appropriate resolution here would be to replace the current use of "sequence" with "iterable" in both the code and the documentation.
Python tracker <report at bugs.python.org>
More information about the docs