Skip to content

Commit 9f7775d

Browse files
Revert "Add tp_static_builtin_index to the docs."
This reverts commit 3f20f4a.
1 parent 3f20f4a commit 9f7775d

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

Doc/c-api/type.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ The following functions and structs are used to create
325325
* :c:member:`~PyTypeObject.tp_cache`
326326
* :c:member:`~PyTypeObject.tp_subclasses`
327327
* :c:member:`~PyTypeObject.tp_weaklist`
328-
* :c:member:`~PyTypeObject.tp_tp_static_builtin_index`
329328
* :c:member:`~PyTypeObject.tp_vectorcall`
330329
* :c:member:`~PyTypeObject.tp_weaklistoffset`
331330
(see :ref:`PyMemberDef <pymemberdef-offsets>`)

Doc/c-api/typeobj.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ Quick Reference
147147
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
148148
| :c:member:`~PyTypeObject.tp_vectorcall` | :c:type:`vectorcallfunc` | | | | | |
149149
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
150-
| [:c:member:`~PyTypeObject.tp_static_builtin_index`] | size_t | | | | |
151-
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
152150

153151
.. [#slots]
154152
A slot name in parentheses indicates it is (effectively) deprecated.
@@ -2030,17 +2028,6 @@ and :c:type:`PyType_Type` effectively act as defaults.)
20302028

20312029
.. versionadded:: 3.9 (the field exists since 3.8 but it's only used since 3.9)
20322030

2033-
.. c:member:: PyObject* PyTypeObject.tp_static_builtin_index
2034-
2035-
A static builtin type's index into the per-interpreter array of type state.
2036-
Internal use only.
2037-
2038-
**Inheritance:**
2039-
2040-
This field is not inherited.
2041-
2042-
.. versionadded:: 3.12
2043-
20442031

20452032
.. _static-types:
20462033

Doc/includes/typestruct.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,4 @@ typedef struct _typeobject {
8080

8181
destructor tp_finalize;
8282
vectorcallfunc tp_vectorcall;
83-
84-
size_t tp_static_builtin_index;
8583
} PyTypeObject;

0 commit comments

Comments
 (0)