python / cpython

The Python programming language
https://www.python.org
Other
62.28k stars 29.92k forks source link

Incorrect PEP link in Language Reference section 7.7 #55655

Closed bd3465ff-530b-4561-a226-73c9ce892b81 closed 13 years ago

bd3465ff-530b-4561-a226-73c9ce892b81 commented 13 years ago
BPO 11446
Nosy @ezio-melotti

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: ```python assignee = 'https://github.com/ezio-melotti' closed_at = created_at = labels = ['type-bug', 'docs'] title = 'Incorrect PEP link in Language Reference section 7.7' updated_at = user = 'https://bugs.python.org/terrence' ``` bugs.python.org fields: ```python activity = actor = 'ezio.melotti' assignee = 'ezio.melotti' closed = True closed_date = closer = 'ezio.melotti' components = ['Documentation'] creation = creator = 'terrence' dependencies = [] files = [] hgrepos = [] issue_num = 11446 keywords = [] message_count = 5.0 messages = ['130385', '130601', '130603', '130604', '130605'] nosy_count = 4.0 nosy_names = ['ezio.melotti', 'terrence', 'docs@python', 'python-dev'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue11446' versions = ['Python 3.3'] ```

bd3465ff-530b-4561-a226-73c9ce892b81 commented 13 years ago

At the bottom of section 7.7 Class Definitions in the Python Language Reference: http://docs.python.org/py3k/reference/compound_stmts.html#class-definitions

The text is: See also: PEP-3116 - Metaclasses in Python 3 PEP-3129 - Class Decorators

This appears to be a typo. PEP-3116 is "New I/O", not "Metaclasses in Python3000" -- the correct PEP number is 3115.

1762cc99-3127-4a62-9baf-30c3d0f51ef7 commented 13 years ago

New changeset ed1f7b3f2ff3 by Ezio Melotti in branch '3.1': bpo-11446: fix incorrect PEP link. http://hg.python.org/cpython/rev/ed1f7b3f2ff3

1762cc99-3127-4a62-9baf-30c3d0f51ef7 commented 13 years ago

New changeset eeef2f17a774 by Ezio Melotti in branch '3.2': bpo-11446: merge with 3.1. http://hg.python.org/cpython/rev/eeef2f17a774

1762cc99-3127-4a62-9baf-30c3d0f51ef7 commented 13 years ago

New changeset 14a2d276b9ab by Ezio Melotti in branch 'default': bpo-11446: merge with 3.2. http://hg.python.org/cpython/rev/14a2d276b9ab

ezio-melotti commented 13 years ago

Thanks for the report!