[issue16077] fix code example in docs for built-in reduce()
New submission from Chris Jerdonek:
(from: http://mail.python.org/pipermail/docs/2012-September/010513.html and http://mail.python.org/pipermail/docs/2012-September/010526.html ) ---------- assignee: docs@python components: Documentation keywords: easy messages: 171419 nosy: chris.jerdonek, docs@python priority: normal severity: normal stage: needs patch status: open title: fix code example in docs for built-in reduce() type: enhancement versions: Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16077> _______________________________________
Serhiy Storchaka added the comment: Indeed. Will probably want to add an example with 1-element sequence for functools.reduce in Doc/howto/functional.rst. ---------- nosy: +storchaka _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16077> _______________________________________
Changes by Chris Jerdonek <chris.jerdonek@gmail.com>: ---------- assignee: docs@python -> chris.jerdonek _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16077> _______________________________________
Roundup Robot added the comment: New changeset a6779524962c by Chris Jerdonek in branch '2.7': Close issue #16077: fix code example in documentation of reduce() built-in (from docs@). http://hg.python.org/cpython/rev/a6779524962c ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16077> _______________________________________
Chris Jerdonek added the comment: Serhiy, feel free to create a new issue for Doc/howto/functional.rst if you feel an addition there is warranted. ---------- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16077> _______________________________________
Serhiy Storchaka added the comment: I thought and decided it wasn't worth it. Howtos for general cases, and not for corner cases. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16077> _______________________________________
participants (3)
-
Chris Jerdonek
-
Roundup Robot
-
Serhiy Storchaka