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

@ -1250,4 +1250,5 @@ PyTypeObject PyComplex_Type = {
PyType_GenericAlloc, /* tp_alloc */
actual_complex_new, /* tp_new */
PyObject_Free, /* tp_free */
.tp_version_tag = _Py_TYPE_VERSION_COMPLEX,
};