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
keywords: patch
messages: 265201
nosy: xiang.zhang
priority: normal
severity: normal
status: open
title: Enhance PyFunction_New documentation
Added file: http://bugs.python.org/file42791/PyFunction_New_doc.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to