Searched refs:hintmeth (Results 1 – 1 of 1) sorted by relevance
96 PyObject *ro, *hintmeth; in _PyObject_LengthHint() local113 hintmeth = _PyObject_LookupSpecial(o, "__length_hint__", &hintstrobj); in _PyObject_LengthHint()114 if (hintmeth == NULL) { in _PyObject_LengthHint()120 ro = PyObject_CallFunctionObjArgs(hintmeth, NULL); in _PyObject_LengthHint()121 Py_DECREF(hintmeth); in _PyObject_LengthHint()