Searched refs:PyObject_LengthHint (Results 1 – 9 of 9) sorted by relevance
504 PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t);
230 res = PyObject_LengthHint(obj, defaultvalue); in length_hint()
82 PyObject_LengthHint(PyObject *o, Py_ssize_t defaultvalue) in PyObject_LengthHint() function1788 n = PyObject_LengthHint(v, 10); in PySequence_Tuple()
1620 buf_size = PyObject_LengthHint(iterable_of_ints, 32); in bytearray_extend()
2692 size = PyObject_LengthHint(x, 64); in _PyBytes_FromIterator()
834 n = PyObject_LengthHint(b, 8); in listextend()
373 .. c:function:: Py_ssize_t PyObject_LengthHint(PyObject *o, Py_ssize_t default)
1924 * New function :c:func:`PyObject_LengthHint` is the C API equivalent
4680 PyObject_LengthHint.