mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
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!).
This commit is contained in:
parent
d305f515f9
commit
05bbb9a8fb
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user