diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-03-31 21:32:15 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-03-31 21:32:15 (GMT) |
commit | a57df2cf1d627840dff505e8487fbd5f42414c7b (patch) | |
tree | 87d099bca7fc01072ad6911e9ffa79707b982704 /Include | |
parent | 26cc99da2a350f3093c9d7055794daef2034e2a4 (diff) | |
download | cpython-a57df2cf1d627840dff505e8487fbd5f42414c7b.zip cpython-a57df2cf1d627840dff505e8487fbd5f42414c7b.tar.gz cpython-a57df2cf1d627840dff505e8487fbd5f42414c7b.tar.bz2 |
Issue #8268: Old-style classes (not just instances) now support weak
references.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/classobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/classobject.h b/Include/classobject.h index 118dd09..bc03e0d 100644 --- a/Include/classobject.h +++ b/Include/classobject.h @@ -18,6 +18,7 @@ typedef struct { PyObject *cl_getattr; PyObject *cl_setattr; PyObject *cl_delattr; + PyObject *cl_weakreflist; /* List of weak references */ } PyClassObject; typedef struct { |