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 --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/bltinmodule.c') 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); -- cgit v1.2.1