GH-126547: Pre-assign version numbers for a few common classes (GH-126551)

This commit is contained in:
Mark Shannon 2024-11-08 16:44:44 +00:00 committed by GitHub
parent fd5580cd15
commit fa40922597
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 29 additions and 2 deletions

View file

@ -1916,6 +1916,7 @@ PyTypeObject PyFloat_Type = {
0, /* tp_alloc */
float_new, /* tp_new */
.tp_vectorcall = (vectorcallfunc)float_vectorcall,
.tp_version_tag = _Py_TYPE_VERSION_FLOAT,
};
static void