Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 13576:61e4c29d53d8 legacy-trunk
replace PyXXX_Length calls with PyXXX_Size calls
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Wed, 12 Jul 2000 13:05:33 +0000 |
| parents | ea732719b3fd |
| children | 5b727ab37092 |
line wrap: on
line diff
--- a/Objects/stringobject.c Wed Jul 12 12:56:19 2000 +0000 +++ b/Objects/stringobject.c Wed Jul 12 13:05:33 2000 +0000 @@ -759,7 +759,7 @@ /* 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);
