commit | 027bb633b6899a0847d81cb35cbccdff5a468766 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon May 31 03:09:25 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon May 31 03:09:25 2004 +0000 |
tree | 4d6694b894394f6dd73ed6eb7c8c47c1909f056d | |
parent | cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa [diff] [blame] |
Add weakref support to sockets and re pattern objects.
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 @@ /* 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];