diff Include/funcobject.h @ 17169:d807488dfc7a legacy-trunk

Add the necessary field for weak reference support to the function and method types.
author Fred Drake <fdrake@acm.org>
date Fri, 23 Mar 2001 04:17:58 +0000
parents fd8c7203251f
children 09df3254b49d
line wrap: on
line diff
--- a/Include/funcobject.h	Fri Mar 23 04:01:07 2001 +0000
+++ b/Include/funcobject.h	Fri Mar 23 04:17:58 2001 +0000
@@ -16,6 +16,7 @@
     PyObject *func_doc;
     PyObject *func_name;
     PyObject *func_dict;
+    PyObject *func_weakreflist;
 } PyFunctionObject;
 
 extern DL_IMPORT(PyTypeObject) PyFunction_Type;