Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.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 | a89f7f268de4 |
| children | f79434ee41fa |
line wrap: on
line diff
--- a/Python/bltinmodule.c Wed Jul 12 12:56:19 2000 +0000 +++ b/Python/bltinmodule.c Wed Jul 12 13:05:33 2000 +0000 @@ -1385,7 +1385,7 @@ if (!PyArg_ParseTuple(args, "O:len", &v)) return NULL; - res = PyObject_Length(v); + res = PyObject_Size(v); if (res < 0 && PyErr_Occurred()) return NULL; return PyInt_FromLong(res);
