mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

* Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG
The field is always present in the type struct, as explained
in the added comment.
* Remove Py_TPFLAGS_HAVE_AM_SEND
The flag is not needed, and since it was added in 3.10 it can be removed now.
(cherry picked from commit a4760cc32d
)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 lines
243 B
ReStructuredText
4 lines
243 B
ReStructuredText
The ``Py_TPFLAGS_HAVE_VERSION_TAG`` type flag now does nothing. The
|
|
``Py_TPFLAGS_HAVE_AM_SEND`` flag (which was added in 3.10) is removed. Both
|
|
were unnecessary because it is not possible to have type objects with the
|
|
relevant fields missing.
|