diff options
author | Guido van Rossum <guido@python.org> | 2001-01-24 21:44:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-24 21:44:21 (GMT) |
commit | 05bbb9a8fb0e6b5dc01bf30d78517d356a1080cb (patch) | |
tree | 99f793105f2f657430f2191b251f590aa52a86ed /Modules/arraymodule.c | |
parent | d305f515f9c4e3cedb3e47ec2711f1dd2a99ceb5 (diff) | |
download | cpython-05bbb9a8fb0e6b5dc01bf30d78517d356a1080cb.zip cpython-05bbb9a8fb0e6b5dc01bf30d78517d356a1080cb.tar.gz cpython-05bbb9a8fb0e6b5dc01bf30d78517d356a1080cb.tar.bz2 |
The array type was missing the Py_TPFLAGS_DEFAULT initializer for the
tp_flags. This will become important when I introduce
Py_TPFLAGS_HAVE_RICHCOMPARE (as I should have!).
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index f254359..374b3ac 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1543,7 +1543,7 @@ statichere PyTypeObject Arraytype = { 0, /* tp_getattro */ 0, /* tp_setattro */ &array_as_buffer, /* tp_as _buffer*/ - 0, /* tp_flags */ + Py_TPFLAGS_DEFAULT, /* tp_flags */ arraytype_doc, /* tp_doc */ 0, /* tp_traverse */ 0, /* tp_clear */ |