We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143f936 commit 4a4109eCopy full SHA for 4a4109e
Objects/typeobject.c
@@ -7014,12 +7014,11 @@ type_ready(PyTypeObject *type)
7014
int
7015
PyType_Ready(PyTypeObject *type)
7016
{
7017
- assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
7018
-
7019
if (type->tp_flags & Py_TPFLAGS_READY) {
7020
assert(_PyType_CheckConsistency(type));
7021
return 0;
7022
}
+ assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
7023
7024
/* Historically, all static types were immutable. See bpo-43908 */
7025
if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
0 commit comments