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: Enhance PyFunction_New documentation
Type: Stage: resolved
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, python-dev, xiang.zhang
Priority: normal Keywords: patch

Created on 2016-05-09 15:49 by xiang.zhang, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
PyFunction_New_doc.patch xiang.zhang, 2016-05-09 15:49 review
Messages (2)
msg265201 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2016-05-09 15:49
Doc of PyFunction_New[1] is not perfect. 

1. *__module__* is not retrieved from *code* but *globals*.
2. Add descriptions for annotations and qualname.

[1] https://docs.python.org/3/c-api/function.html#c.PyFunction_New
msg265225 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-05-10 06:44
New changeset bfc4c57a0986 by Benjamin Peterson in branch '3.5':
improve PyFunction_New docs (closes #26986)
https://hg.python.org/cpython/rev/bfc4c57a0986

New changeset 71afeb15f617 by Benjamin Peterson in branch 'default':
merge 3.5 (#26986)
https://hg.python.org/cpython/rev/71afeb15f617
History
Date User Action Args
2022-04-11 14:58:30adminsetgithub: 71173
2016-05-10 06:44:41python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg265225

resolution: fixed
stage: resolved
2016-05-09 15:49:09xiang.zhangsetassignee: docs@python

components: + Documentation
nosy: + docs@python
2016-05-09 15:49:02xiang.zhangcreate