classification
Title: PyType_Type is documented incorrectly
Type: Stage: patch review
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: da-woods, docs@python, python-dev
Priority: normal Keywords: patch

Created on 2020-09-29 20:58 by da-woods, last changed 2020-09-29 21:06 by python-dev.

Pull Requests
URL Status Linked Edit
PR 22454 open python-dev, 2020-09-29 21:06
Messages (1)
msg377683 - (view) Author: (da-woods) * Date: 2020-09-29 20:58
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.
History
Date User Action Args
2020-09-29 21:06:24python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request21483
stage: patch review
2020-09-29 20:58:03da-woodscreate