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 39a8fc7 commit 6019ebaCopy full SHA for 6019eba
Objects/typeobject.c
@@ -135,7 +135,6 @@ static_builtin_state_clear(PyTypeObject *self)
135
assert(state != NULL);
136
state->type = NULL;
137
static_builtin_index_clear(self);
138
- /* We leave _Py_TPFLAGS_STATIC_BUILTIN set on tp_flags. */
139
140
PyInterpreterState *interp = _PyInterpreterState_GET();
141
assert(interp->types.num_builtins_initialized > 0);
@@ -4352,6 +4351,7 @@ _PyStaticType_Dealloc(PyTypeObject *type)
4352
4351
4353
if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
4354
static_builtin_state_clear(type);
+ /* We leave _Py_TPFLAGS_STATIC_BUILTIN set on tp_flags. */
4355
}
4356
4357
0 commit comments