replace PyXXX_Length calls with PyXXX_Size calls

This commit is contained in:
Jeremy Hylton 2000-07-12 13:05:33 +00:00
parent 6253f83b0a
commit 03657cfdb0
14 changed files with 30 additions and 29 deletions

View file

@ -1934,7 +1934,7 @@ Tkinter_Flatten(PyObject* self, PyObject* args)
if (!PyArg_ParseTuple(args, "O:_flatten", &item))
return NULL;
context.maxsize = PySequence_Length(item);
context.maxsize = PySequence_Size(item);
if (context.maxsize <= 0)
return PyTuple_New(0);