Mercurial > cpython-lru_cache-weakref
diff Modules/arraymodule.c @ 16232:df2ed5664be5 legacy-trunk
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!).
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 24 Jan 2001 21:44:21 +0000 |
| parents | 54205828b1e1 |
| children | c2ce9b2e5bb4 |
line wrap: on
line diff
--- a/Modules/arraymodule.c Wed Jan 24 21:10:55 2001 +0000 +++ b/Modules/arraymodule.c Wed Jan 24 21:44:21 2001 +0000 @@ -1543,7 +1543,7 @@ 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 */
