[issue15140] PEP 384 inconsistent with implementation

New submission from Antoine Pitrou pitrou@free.fr:
In PEP 384, the PyType_Spec struct has a "const char *doc" that is not present in the implementation (Include/object.h).
---------- assignee: docs@python components: Documentation messages: 163449 nosy: docs@python, loewis, pitrou priority: normal severity: normal stage: needs patch status: open title: PEP 384 inconsistent with implementation type: behavior
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue15140 _______________________________________

Martin v. Löwis martin@v.loewis.de added the comment:
It's a bug in the PEP: users need to provide the module documentation through Py_tp_doc (which actually is mentioned in the PEP).
I'll fix it.
----------
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue15140 _______________________________________

Furkan Onder furkanonder@protonmail.com added the comment:
It fixed.
---------- nosy: +furkanonder
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue15140 _______________________________________

Change by Guido van Rossum guido@python.org:
---------- resolution: -> fixed stage: needs patch -> resolved status: open -> closed
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue15140 _______________________________________
participants (4)
-
Antoine Pitrou
-
Furkan Onder
-
Guido van Rossum
-
Martin v. Löwis