[issue18272] In itertools recipes there is a typo in __builtins__

New submission from py.user: http://docs.python.org/3/library/itertools.html#itertools-recipes "Like __builtin__.iter(func, sentinel)" ---------- assignee: docs@python components: Documentation files: issue.diff keywords: patch messages: 191530 nosy: docs@python, py.user priority: normal severity: normal status: open title: In itertools recipes there is a typo in __builtins__ type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file30656/issue.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18272> _______________________________________

Zachary Ware added the comment: 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(). ---------- nosy: +zach.ware _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18272> _______________________________________

Changes by Zachary Ware <zachary.ware@gmail.com>: ---------- versions: +Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18272> _______________________________________

Changes by STINNER Victor <victor.stinner@gmail.com>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18272> _______________________________________

Roundup Robot added the comment: 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 ---------- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18272> _______________________________________

A.M. Kuchling added the comment: Thanks for your report! I've corrected the error on the 3.3 and 3.4 branches. ---------- nosy: +akuchling _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18272> _______________________________________
participants (5)
-
A.M. Kuchling
-
py.user
-
Roundup Robot
-
STINNER Victor
-
Zachary Ware