diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-12 13:05:33 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-07-12 13:05:33 +0000 |
commit | 245f025ea94faed3a5df906f448a7a16bfd38a96 (patch) | |
tree | bc095175c4ae383790465d727a6a64bbf5805b3b /Python/bltinmodule.c | |
parent | 68f5abe7ab965eae77402364c3398614f58e36e5 (diff) | |
download | cpython-245f025ea94faed3a5df906f448a7a16bfd38a96.tar.gz |
replace PyXXX_Length calls with PyXXX_Size calls
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index a00cd5dbf8..07462822f3 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1385,7 +1385,7 @@ builtin_len(self, args) 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); |