summaryrefslogtreecommitdiff
path: root/Objects/classobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r--Objects/classobject.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 88bd20c29e..90a0e22dd4 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -678,9 +678,6 @@ instance_dealloc(register PyInstanceObject *inst)
/* compensate for increment in _Py_ForgetReference */
inst->ob_type->tp_frees--;
#endif
-#ifndef WITH_CYCLE_GC
- inst->ob_type = NULL;
-#endif
#endif
Py_DECREF(inst->in_class);
Py_XDECREF(inst->in_dict);