summaryrefslogtreecommitdiff
path: root/Include/setobject.h
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-05-30 07:26:47 +0000
committerRaymond Hettinger <python@rcn.com>2004-05-30 07:26:47 +0000
commit00901583e0d2460789371e303ce0124ec6af8405 (patch)
tree8d6e6f0195e31ef74c2e1dab9d52d44acbaab2c8 /Include/setobject.h
parentad0e88068b55d31c7bb4e573c967e0776120959d (diff)
downloadcpython-00901583e0d2460789371e303ce0124ec6af8405.tar.gz
Make sets and deques weak referencable.
Diffstat (limited to 'Include/setobject.h')
-rw-r--r--Include/setobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index 267e3b0956..abbd8477ad 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -15,6 +15,7 @@ typedef struct {
PyObject_HEAD
PyObject *data;
long hash; /* only used by frozenset objects */
+ PyObject *weakreflist; /* List of weak references */
} PySetObject;
PyAPI_DATA(PyTypeObject) PySet_Type;