commit | aa9a79d27958ae5afb6c8769a2b342d98677c091 | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Sat Oct 06 14:03:24 2012 +0200 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Sat Oct 06 14:03:24 2012 +0200 |
tree | 24d49f530111a345c57f053a7f40652fa51d27a3 | |
parent | ef08fb1f040cb51e752c6b1322008714262fbf3e [diff] [blame] |
Issue #16148: implemented PEP 424
diff --git a/Objects/listobject.c b/Objects/listobject.c index 6e0d094..4cc34b5 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c
@@ -826,7 +826,7 @@ iternext = *it->ob_type->tp_iternext; /* Guess a result list size. */ - n = _PyObject_LengthHint(b, 8); + n = PyObject_LengthHint(b, 8); if (n == -1) { Py_DECREF(it); return NULL;