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: Misleading word used for __annotations__
Type: Stage: resolved
Components: Documentation Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Claudiu.Popa, docs@python, python-dev
Priority: normal Keywords: patch

Created on 2014-01-02 19:41 by Claudiu.Popa, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
doc_annotation.patch Claudiu.Popa, 2014-01-02 19:41 review
Messages (2)
msg207183 - (view) Author: PCManticore (Claudiu.Popa) * (Python triager) Date: 2014-01-02 19:41
The documentation for `__annotations__` specify that the dict contains the parameter names ``or`` the return, but this is misleading, because `return` exists even if the parameter keys are present.
msg207195 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-01-02 22:48
New changeset 203ca77ea819 by Benjamin Peterson in branch '3.3':
correct word for __annotations__ doc (closes #20110)
http://hg.python.org/cpython/rev/203ca77ea819

New changeset 3e75f649e93b by Benjamin Peterson in branch 'default':
merge 3.3 (#20110)
http://hg.python.org/cpython/rev/3e75f649e93b
History
Date User Action Args
2022-04-11 14:57:56adminsetgithub: 64309
2014-01-02 22:48:38python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg207195

resolution: fixed
stage: resolved
2014-01-02 19:41:53Claudiu.Popacreate