New submission from da-woods <dw-...@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@python
components: Documentation
messages: 377683
nosy: da-woods, docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to