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 37486b4 commit 707310aCopy full SHA for 707310a
Objects/typeobject.c
@@ -7186,12 +7186,12 @@ _PyStaticType_InitBuiltin(PyTypeObject *self)
7186
7187
if (self->tp_flags & Py_TPFLAGS_READY) {
7188
assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
7189
- assert(_PyType_CheckConsistency(self));
7190
/* We must explicitly set these for subinterpreters.
7191
tp_subclasses is set lazily. */
7192
type_ready_set_dict(self);
7193
type_ready_set_bases(self);
7194
type_ready_mro(self);
+ assert(_PyType_CheckConsistency(self));
7195
return 0;
7196
}
7197
0 commit comments