comparison 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
comparison
equal deleted inserted replaced
16231:3a20da2893c4 16232:df2ed5664be5
1541 0, /* tp_call */ 1541 0, /* tp_call */
1542 0, /* tp_str */ 1542 0, /* tp_str */
1543 0, /* tp_getattro */ 1543 0, /* tp_getattro */
1544 0, /* tp_setattro */ 1544 0, /* tp_setattro */
1545 &array_as_buffer, /* tp_as _buffer*/ 1545 &array_as_buffer, /* tp_as _buffer*/
1546 0, /* tp_flags */ 1546 Py_TPFLAGS_DEFAULT, /* tp_flags */
1547 arraytype_doc, /* tp_doc */ 1547 arraytype_doc, /* tp_doc */
1548 0, /* tp_traverse */ 1548 0, /* tp_traverse */
1549 0, /* tp_clear */ 1549 0, /* tp_clear */
1550 array_richcompare, /* tp_richcompare */ 1550 array_richcompare, /* tp_richcompare */
1551 }; 1551 };