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

@ -759,7 +759,7 @@ string_join(PyStringObject *self, PyObject *args)
/* From here on out, errors go through finally: for proper
* reference count manipulations.
*/
seqlen = PySequence_Length(seq);
seqlen = PySequence_Size(seq);
if (seqlen == 1) {
item = PySequence_Fast_GET_ITEM(seq, 0);
Py_INCREF(item);