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.

classification
Title: example misprint in documentation whatsnew/3.2
Type: Stage:
Components: Documentation Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, july, rhettinger
Priority: normal Keywords: patch

Created on 2011-02-13 23:04 by july, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
whatsnew.3.2.accumulate.example.diff july, 2011-02-13 23:04
Messages (2)
msg128529 - (view) Author: July Tikhonov (july) * Date: 2011-02-13 23:04
>>> list(accumulate(8, 2, 50))

fails. Correct version is

>>> list(accumulate([8, 2, 50]))
msg128570 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2011-02-14 18:21
Fixed.
Thank for the report.
History
Date User Action Args
2022-04-11 14:57:12adminsetgithub: 55417
2011-02-14 18:21:14rhettingersetstatus: open -> closed

messages: + msg128570
resolution: fixed
nosy: rhettinger, july, docs@python
2011-02-14 13:57:01r.david.murraysetnosy: + rhettinger
2011-02-13 23:04:56julycreate