summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-05 17:10:16 (GMT)
committerGuido van Rossum <guido@python.org>2002-04-05 17:10:16 (GMT)
commitcc8fe0407a66acc267b60386e9346f3539e0ffae (patch)
treea50a25380fe684eb6f5d3b079f80ae344455f2dd
parent2d7e264762b3345631015d3d74fc5db644410773 (diff)
downloadcpython-cc8fe0407a66acc267b60386e9346f3539e0ffae.zip
cpython-cc8fe0407a66acc267b60386e9346f3539e0ffae.tar.gz
cpython-cc8fe0407a66acc267b60386e9346f3539e0ffae.tar.bz2
Inherit tp_new and tp_is_gc.
Bugfix candidate.
-rw-r--r--Objects/typeobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index f0e8c83..849840c 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2024,6 +2024,8 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base)
COPYSLOT(tp_init);
COPYSLOT(tp_alloc);
COPYSLOT(tp_free);
+ COPYSLOT(tp_new);
+ COPYSLOT(tp_is_gc);
}
}