[New-bugs-announce] [issue45790] Inaccurate phrasing in extending/newtypes_tutorial

Rodrigo Tobar report at bugs.python.org
Thu Nov 11 21:55:53 EST 2021


New submission from Rodrigo Tobar <rtobarc at gmail.com>:

In `extending/newtypes_tutorial.rst` the following phrase appears:


"[...], containing a pointer to a type object and a reference count (these can be accessed using the macros :c:macro:`Py_REFCNT` and c:macro:`Py_TYPE` respectively)."

I believe it should read "using the macros :c:macro:`Py_TYPE` and c:macro:`Py_REFCNT` respectively" to follow the same order in which the fields are described.

I'll put forward a patch. It seems this phrase goes way back a few python versions, but I'm tagging 3.11 here only.

----------
assignee: docs at python
components: Documentation
messages: 406185
nosy: docs at python, rtobar2
priority: normal
severity: normal
status: open
title: Inaccurate phrasing in extending/newtypes_tutorial
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45790>
_______________________________________


More information about the New-bugs-announce mailing list