diff options
author | Raymond Hettinger <python@rcn.com> | 2005-06-19 08:42:20 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-06-19 08:42:20 (GMT) |
commit | bff60aeb938fc6947823b3fdea9c74898057ce98 (patch) | |
tree | 5b7f8937ec482fe5f4c35140fb896f54639a0af3 /Objects/classobject.c | |
parent | bb999b5925ae65d19282c3781cdbb678f92c410f (diff) | |
download | cpython-bff60aeb938fc6947823b3fdea9c74898057ce98.zip cpython-bff60aeb938fc6947823b3fdea9c74898057ce98.tar.gz cpython-bff60aeb938fc6947823b3fdea9c74898057ce98.tar.bz2 |
Insert missing flag.
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index 68505f1..ce2c073 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -2486,7 +2486,7 @@ PyTypeObject PyMethod_Type = { (getattrofunc)instancemethod_getattro, /* tp_getattro */ PyObject_GenericSetAttr, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,/* tp_flags */ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_HAVE_WEAKREFS, /* tp_flags */ instancemethod_doc, /* tp_doc */ (traverseproc)instancemethod_traverse, /* tp_traverse */ 0, /* tp_clear */ |