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

@ -3080,6 +3080,7 @@ PyTypeObject PyBytes_Type = {
bytes_alloc, /* tp_alloc */
bytes_new, /* tp_new */
PyObject_Free, /* tp_free */
.tp_version_tag = _Py_TYPE_VERSION_BYTES,
};
void