Home
last modified time | relevance | path

Searched refs:PyNumber_Index (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Objects/
Drangeobject.c36 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()
Dsliceobject.c366 return PyNumber_Index(v); in evaluate_slice_index()
531 length = PyNumber_Index(len); in slice_indices()
Denumobject.c51 start = PyNumber_Index(start); in enum_new_impl()
Dabstract.c1466 PyNumber_Index(PyObject *item) in PyNumber_Index() function
1575 return PyNumber_Index(o); in PyNumber_Long()
1598 Py_SETREF(result, PyNumber_Index(result)); in PyNumber_Long()
Dweakrefobject.c563 WRAP_UNARY(proxy_index, PyNumber_Index) in WRAP_BINARY()
/third_party/python/Modules/
Dmathmodule.c840 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()
D_operator.c694 return PyNumber_Index(a); in _operator_index()
/third_party/python/Doc/c-api/
Dnumber.rst254 .. c:function:: PyObject* PyNumber_Index(PyObject *o)
270 :c:func:`PyNumber_Index` first.
/third_party/python/Include/
Dabstract.h524 PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o);
/third_party/python/Doc/data/
Dstable_abi.dat428 function,PyNumber_Index,3.2,
Drefcounts.dat1444 PyNumber_Index:PyObject*::+1:
1445 PyNumber_Index:PyObject*:o:0:
/third_party/python/PC/
Dpython3dll.c391 EXPORT_FUNC(PyNumber_Index)
/third_party/python/Doc/faq/
Dextending.rst99 as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et
/third_party/python/Misc/
Dstable_abi.txt974 function PyNumber_Index
/third_party/python/Misc/NEWS.d/
D3.10.0a1.rst3475 The result of :c:func:`PyNumber_Index` now always has exact type
/third_party/python/Doc/whatsnew/
D3.10.rst2034 * The result of :c:func:`PyNumber_Index` now always has exact type :class:`int`.
D2.5.rst959 ``PyNumber_Index(obj)`` can be used in extension code to call the