Searched refs:PyNumber_Index (Results 1 – 17 of 17) sorted by relevance
36 step = PyNumber_Index(step); in validate_step()88 start = PyNumber_Index(args[0]); in range_from_array()92 stop = PyNumber_Index(args[1]); in range_from_array()105 stop = PyNumber_Index(args[0]); in range_from_array()657 i = PyNumber_Index(item); in range_subscript()
366 return PyNumber_Index(v); in evaluate_slice_index()531 length = PyNumber_Index(len); in slice_indices()
51 start = PyNumber_Index(start); in enum_new_impl()
1466 PyNumber_Index(PyObject *item) in PyNumber_Index() function1575 return PyNumber_Index(o); in PyNumber_Long()1598 Py_SETREF(result, PyNumber_Index(result)); in PyNumber_Long()
563 WRAP_UNARY(proxy_index, PyNumber_Index) in WRAP_BINARY()
840 res = PyNumber_Index(args[0]); in math_gcd()915 res = PyNumber_Index(args[0]); in math_lcm()926 x = PyNumber_Index(args[i]); in math_lcm()3246 n = PyNumber_Index(n); in math_perm_impl()3250 k = PyNumber_Index(k); in math_perm_impl()3356 n = PyNumber_Index(n); in math_comb_impl()3360 k = PyNumber_Index(k); in math_comb_impl()
694 return PyNumber_Index(a); in _operator_index()
254 .. c:function:: PyObject* PyNumber_Index(PyObject *o)270 :c:func:`PyNumber_Index` first.
524 PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o);
428 function,PyNumber_Index,3.2,
1444 PyNumber_Index:PyObject*::+1:1445 PyNumber_Index:PyObject*:o:0:
391 EXPORT_FUNC(PyNumber_Index)
99 as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et
974 function PyNumber_Index
3475 The result of :c:func:`PyNumber_Index` now always has exact type
2034 * The result of :c:func:`PyNumber_Index` now always has exact type :class:`int`.
959 ``PyNumber_Index(obj)`` can be used in extension code to call the