[issue26986] Enhance PyFunction_New documentation

2016-05-09 Thread Roundup Robot
Roundup Robot added the comment: 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.o

[issue26986] Enhance PyFunction_New documentation

2016-05-09 Thread Xiang Zhang
Changes by Xiang Zhang : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ ___ Python-

[issue26986] Enhance PyFunction_New documentation

2016-05-09 Thread Xiang Zhang
New submission from Xiang Zhang: 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 -- files: PyFunction_New_doc.patch