mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-126547: Pre-assign version numbers for a few common classes (GH-126551)
This commit is contained in:
parent
fd5580cd15
commit
fa40922597
12 changed files with 29 additions and 2 deletions
|
@ -909,6 +909,7 @@ PyTypeObject PyTuple_Type = {
|
|||
tuple_new, /* tp_new */
|
||||
PyObject_GC_Del, /* tp_free */
|
||||
.tp_vectorcall = tuple_vectorcall,
|
||||
.tp_version_tag = _Py_TYPE_VERSION_TUPLE,
|
||||
};
|
||||
|
||||
/* The following function breaks the notion that tuples are immutable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue