mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Insert missing flag.
This commit is contained in:
parent
bb999b5925
commit
bff60aeb93
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue