Function lenfunc

Source
pub unsafe fn lenfunc(
    slf: *mut PyObject,
    f: for<'py> unsafe fn(Python<'py>, *mut PyObject) -> PyResult<Py_ssize_t>,
) -> Py_ssize_t
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here