Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4131830 commit 6a1c87dCopy full SHA for 6a1c87d
2 files changed
Include/classobject.h
@@ -32,6 +32,7 @@ typedef struct {
32
PyObject *im_func; /* The callable object implementing the method */
33
PyObject *im_self; /* The instance it is bound to, or NULL */
34
PyObject *im_class; /* The class that defined the method */
35
+ PyObject *im_weakreflist; /* List of weak references */
36
} PyMethodObject;
37
38
extern DL_IMPORT(PyTypeObject) PyClass_Type, PyInstance_Type, PyMethod_Type;
Include/funcobject.h
@@ -16,6 +16,7 @@ typedef struct {
16
PyObject *func_doc;
17
PyObject *func_name;
18
PyObject *func_dict;
19
+ PyObject *func_weakreflist;
20
} PyFunctionObject;
21
22
extern DL_IMPORT(PyTypeObject) PyFunction_Type;
0 commit comments