Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In itertools recipes there is a typo in __builtins__ #62472

Closed
py-user mannequin opened this issue Jun 20, 2013 · 4 comments
Closed

In itertools recipes there is a typo in __builtins__ #62472

py-user mannequin opened this issue Jun 20, 2013 · 4 comments
Labels
docs Documentation in the Doc dir easy type-feature A feature request or enhancement

Comments

@py-user
Copy link
Mannequin

py-user mannequin commented Jun 20, 2013

BPO 18272
Nosy @akuchling, @py-user, @zware
Files
  • issue18272.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2013-06-21.01:19:29.047>
    created_at = <Date 2013-06-20.18:35:45.972>
    labels = ['easy', 'type-feature', 'docs']
    title = 'In itertools recipes there is a typo in __builtins__'
    updated_at = <Date 2013-06-21.01:22:06.587>
    user = 'https://github.com/py-user'

    bugs.python.org fields:

    activity = <Date 2013-06-21.01:22:06.587>
    actor = 'akuchling'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2013-06-21.01:19:29.047>
    closer = 'python-dev'
    components = ['Documentation']
    creation = <Date 2013-06-20.18:35:45.972>
    creator = 'py.user'
    dependencies = []
    files = ['30656']
    hgrepos = []
    issue_num = 18272
    keywords = ['patch', 'easy']
    message_count = 4.0
    messages = ['191530', '191531', '191547', '191548']
    nosy_count = 5.0
    nosy_names = ['akuchling', 'docs@python', 'py.user', 'python-dev', 'zach.ware']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18272'
    versions = ['Python 3.3', 'Python 3.4']

    @py-user
    Copy link
    Mannequin Author

    py-user mannequin commented Jun 20, 2013

    http://docs.python.org/3/library/itertools.html#itertools-recipes
    "Like __builtin__.iter(func, sentinel)"

    @py-user py-user mannequin assigned docspython Jun 20, 2013
    @py-user py-user mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Jun 20, 2013
    @zware
    Copy link
    Member

    zware commented Jun 20, 2013

    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().

    @vstinner vstinner added the easy label Jun 20, 2013
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jun 21, 2013

    New changeset b805506b11e0 by Andrew Kuchling in branch '3.3':
    Closes bpo-18272: use 'builtins' for 3.3 instead of __builtin__
    http://hg.python.org/cpython/rev/b805506b11e0

    @python-dev python-dev mannequin closed this as completed Jun 21, 2013
    @akuchling
    Copy link
    Member

    Thanks for your report! I've corrected the error on the 3.3 and 3.4 branches.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir easy type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants