diff options
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 3fd311a..8ea29f0 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -860,10 +860,10 @@ tupleiter_len(tupleiterobject *it) return PyInt_FromLong(len); } -PyDoc_STRVAR(length_cue_doc, "Private method returning an estimate of len(list(it))."); +PyDoc_STRVAR(length_hint_doc, "Private method returning an estimate of len(list(it))."); static PyMethodDef tupleiter_methods[] = { - {"_length_cue", (PyCFunction)tupleiter_len, METH_NOARGS, length_cue_doc}, + {"__length_hint__", (PyCFunction)tupleiter_len, METH_NOARGS, length_hint_doc}, {NULL, NULL} /* sentinel */ }; |