summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/object.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 6fc1146..14533db 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -182,8 +182,6 @@ _Py_inc_count(PyTypeObject *tp)
{
if (tp->tp_next == NULL && tp->tp_prev == NULL) {
/* first time; insert in linked list */
- if (tp->tp_next != NULL) /* sanity check */
- Py_FatalError("XXX _Py_inc_count sanity check");
if (type_list)
type_list->tp_prev = tp;
tp->tp_next = type_list;