summaryrefslogtreecommitdiff
path: root/Include/methodobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/methodobject.h')
-rw-r--r--Include/methodobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h
index 3cc2ea9308..0236228617 100644
--- a/Include/methodobject.h
+++ b/Include/methodobject.h
@@ -77,6 +77,7 @@ typedef struct {
PyMethodDef *m_ml; /* Description of the C function to call */
PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */
PyObject *m_module; /* The __module__ attribute, can be anything */
+ PyObject *m_weakreflist; /* List of weak references */
} PyCFunctionObject;
#endif