diff options
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/object.c b/Objects/object.c index 27f89e8..3082e70 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1994,10 +1994,6 @@ _PyTypes_FiniTypes(PyInterpreterState *interp) // their base classes. for (Py_ssize_t i=Py_ARRAY_LENGTH(static_types)-1; i>=0; i--) { PyTypeObject *type = static_types[i]; - // Cannot delete a type if it still has subclasses - if (type->tp_subclasses != NULL) { - continue; - } _PyStaticType_Dealloc(type); } } |