[New-bugs-announce] [issue41886] PyType_Type is documented incorrectly
da-woods
report at bugs.python.org
Tue Sep 29 16:58:03 EDT 2020
New submission from da-woods <dw-git at d-woods.co.uk>:
In the documentation PyType_Type is listed as a "PyObject*" (https://docs.python.org/3/c-api/type.html#c.PyType_Type). This is misleading because it is both not a pointer and is a PyTypeObject.
Other type objects are documented as "PyTypeObject" (see unicode https://docs.python.org/3/c-api/unicode.html#c.PyUnicode_Type as an arbitrary example) so I think the documentation is just inconsistent for PyType_Type alone.
----------
assignee: docs at python
components: Documentation
messages: 377683
nosy: da-woods, docs at python
priority: normal
severity: normal
status: open
title: PyType_Type is documented incorrectly
versions: Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41886>
_______________________________________
More information about the New-bugs-announce
mailing list