BPO | [15140](https://bugs.python.org/issue15140) --- | :--- Nosy | @loewis, @pitrou, @furkanonder *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['type-bug', 'docs'] title = 'PEP 384 inconsistent with implementation' updated_at = user = 'https://github.com/pitrou' ``` bugs.python.org fields: ```python activity = actor = 'gvanrossum' assignee = 'docs@python' closed = True closed_date = closer = 'gvanrossum' components = ['Documentation'] creation = creator = 'pitrou' dependencies = [] files = [] hgrepos = [] issue_num = 15140 keywords = [] message_count = 3.0 messages = ['163449', '163460', '365507'] nosy_count = 4.0 nosy_names = ['loewis', 'pitrou', 'docs@python', 'furkanonder'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue15140' versions = [] ```
Activity
pitrou commentedon Jun 22, 2012
In PEP-384, the PyType_Spec struct has a "const char *doc" that is not present in the implementation (Include/object.h).
loewis commentedon Jun 22, 2012
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.
furkanonder commentedon Apr 1, 2020
It fixed.