Mercurial > cpython-lru_cache-weakref
diff Include/setobject.h @ 32158:679e5c8effae legacy-trunk
Make sets and deques weak referencable.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sun, 30 May 2004 07:26:47 +0000 |
| parents | 4224d807911c |
| children | 60c60dc75c77 |
line wrap: on
line diff
--- a/Include/setobject.h Fri May 28 20:59:21 2004 +0000 +++ b/Include/setobject.h Sun May 30 07:26:47 2004 +0000 @@ -15,6 +15,7 @@ PyObject_HEAD PyObject *data; long hash; /* only used by frozenset objects */ + PyObject *weakreflist; /* List of weak references */ } PySetObject; PyAPI_DATA(PyTypeObject) PySet_Type;
