classification
Title: In itertools recipes there is a typo in __builtins__
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: akuchling, docs@python, py.user, python-dev, zach.ware
Priority: normal Keywords: easy, patch

Created on 2013-06-20 18:35 by py.user, last changed 2013-06-21 01:22 by akuchling. This issue is now closed.

Files
File name Uploaded Description Edit
issue18272.diff py.user, 2013-06-20 18:35 review
Messages (4)
msg191530 - (view) Author: py.user (py.user) * Date: 2013-06-20 18:35
http://docs.python.org/3/library/itertools.html#itertools-recipes
"Like __builtin__.iter(func, sentinel)"
msg191531 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2013-06-20 18:45
Being Python 3, it should actually be "builtins" rather than "__builtins__".

Also, imp.rst and importlib.rst have the same issue in the description of reload().
msg191547 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-06-21 01:19
New changeset b805506b11e0 by Andrew Kuchling in branch '3.3':
Closes #18272: use 'builtins' for 3.3 instead of __builtin__
http://hg.python.org/cpython/rev/b805506b11e0
msg191548 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2013-06-21 01:22
Thanks for your report!  I've corrected the error on the 3.3 and 3.4 branches.
History
Date User Action Args
2013-06-21 01:22:06akuchlingsetnosy: + akuchling
messages: + msg191548
2013-06-21 01:19:29python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg191547

resolution: fixed
stage: resolved
2013-06-20 23:00:28vstinnersetkeywords: + easy
2013-06-20 18:46:17zach.waresetversions: + Python 3.3
2013-06-20 18:45:36zach.waresetnosy: + zach.ware
messages: + msg191531
2013-06-20 18:35:45py.usercreate