There was an error while loading. Please reload this page.
1 parent 595225e commit fda8886Copy full SHA for fda8886
1 file changed
Objects/typeobject.c
@@ -6553,10 +6553,6 @@ remove_subclass(PyTypeObject *base, PyTypeObject *type)
6553
PyErr_Clear();
6554
}
6555
Py_XDECREF(key);
6556
-
6557
- if (PyDict_Size(dict) == 0) {
6558
- Py_CLEAR(base->tp_subclasses);
6559
- }
6560
6561
6562
static void
0 commit comments