updated tp_flags initialization to use inplace or (#120625)

This commit is contained in:
byundojin 2024-07-03 16:51:25 +09:00 committed by GitHub
parent ff5751a208
commit f65d17bf47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -8395,7 +8395,7 @@ type_ready(PyTypeObject *type, int initial)
} }
/* All done -- set the ready flag */ /* All done -- set the ready flag */
type->tp_flags = type->tp_flags | Py_TPFLAGS_READY; type->tp_flags |= Py_TPFLAGS_READY;
stop_readying(type); stop_readying(type);
assert(_PyType_CheckConsistency(type)); assert(_PyType_CheckConsistency(type));