From 03657cfdb056dbd36db12cc3db12a6b58a962e20 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Wed, 12 Jul 2000 13:05:33 +0000 Subject: replace PyXXX_Length calls with PyXXX_Size calls --- Objects/stringobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objects/stringobject.c') diff --git a/Objects/stringobject.c b/Objects/stringobject.c index f4b90e8637..ab44e91f2d 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -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); -- cgit v1.2.1