diff options
author | Raymond Hettinger <python@rcn.com> | 2004-05-31 03:09:25 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-05-31 03:09:25 (GMT) |
commit | 027bb633b6899a0847d81cb35cbccdff5a468766 (patch) | |
tree | 4d6694b894394f6dd73ed6eb7c8c47c1909f056d /Modules/sre.h | |
parent | cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa (diff) | |
download | cpython-027bb633b6899a0847d81cb35cbccdff5a468766.zip cpython-027bb633b6899a0847d81cb35cbccdff5a468766.tar.gz cpython-027bb633b6899a0847d81cb35cbccdff5a468766.tar.bz2 |
Add weakref support to sockets and re pattern objects.
Diffstat (limited to 'Modules/sre.h')
-rw-r--r-- | Modules/sre.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/sre.h b/Modules/sre.h index 4502802..b07d210 100644 --- a/Modules/sre.h +++ b/Modules/sre.h @@ -29,6 +29,7 @@ typedef struct { /* compatibility */ PyObject* pattern; /* pattern source (or None) */ int flags; /* flags used when compiling pattern source */ + PyObject *weakreflist; /* List of weak references */ /* pattern code */ int codesize; SRE_CODE code[1]; |