diff options
| author | Guido van Rossum <guido@python.org> | 2001-01-24 21:44:21 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-01-24 21:44:21 +0000 |
| commit | 170ec48e517f631e4386b9b4890a9e2ff9d720dc (patch) | |
| tree | c99c9d36476e49211b4446e713b46598f2adbb1e /Modules/arraymodule.c | |
| parent | 0de66e7d7c844ab6646796af0c85d248c4040e31 (diff) | |
| download | cpython-170ec48e517f631e4386b9b4890a9e2ff9d720dc.tar.gz | |
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 f2543594f4..374b3ac390 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 */ |
