summaryrefslogtreecommitdiff
path: root/Modules/_sre.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-07-27 21:53:35 +0000
committerGuido van Rossum <guido@python.org>2006-07-27 21:53:35 +0000
commit355e499dabf4704b1edfcefd112f5b814b82e4c5 (patch)
tree0dc7bddc134e8d871edebb0b068d9de4cdb57b0f /Modules/_sre.c
parentd96f5be3e8a6abeb1d16e6bcc4b0704a8deee8d7 (diff)
downloadcpython-355e499dabf4704b1edfcefd112f5b814b82e4c5.tar.gz
Get rid of most of the flags (in tp_flags) that keep track of various
variations of the type struct and its attachments. In Py3k, all type structs have to have all fields -- no binary backwards compatibility. Had to change the complex object to a new-style number!
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 42e0c202ff..d4e6051908 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2628,7 +2628,7 @@ static PyTypeObject Pattern_Type = {
0, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
- Py_TPFLAGS_HAVE_WEAKREFS, /* tp_flags */
+ Py_TPFLAGS_DEFAULT, /* tp_flags */
pattern_doc, /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */