diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-30 05:02:53 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-06-30 05:02:53 (GMT) |
commit | c5007aa5c3d64109578cf12b026ca6305acff97b (patch) | |
tree | a576fb8432ea60a6b6db49c09937551903938003 /Modules/newmodule.c | |
parent | 4e542a3d9995addd08e7675a63cb0c8ee61a5010 (diff) | |
download | cpython-c5007aa5c3d64109578cf12b026ca6305acff97b.zip cpython-c5007aa5c3d64109578cf12b026ca6305acff97b.tar.gz cpython-c5007aa5c3d64109578cf12b026ca6305acff97b.tar.bz2 |
final patches from Neil Schemenauer for garbage collection
Diffstat (limited to 'Modules/newmodule.c')
-rw-r--r-- | Modules/newmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/newmodule.c b/Modules/newmodule.c index fa0dc8b..d35896c 100644 --- a/Modules/newmodule.c +++ b/Modules/newmodule.c @@ -56,6 +56,7 @@ new_instance(unused, args) Py_INCREF(dict); inst->in_class = (PyClassObject *)klass; inst->in_dict = dict; + PyObject_GC_Init(inst); return (PyObject *)inst; } |