Home
last modified time | relevance | path

Searched refs:PySlice_Unpack (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Include/
Dsliceobject.h51 PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
55 PyAPI_FUNC(int) PySlice_Unpack(PyObject *slice,
/external/python/cpython3/Doc/c-api/
Dslice.rst59 :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices` where ::
67 if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {
80 :c:func:`!PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`.
89 .. c:function:: int PySlice_Unpack(PyObject *slice, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t…
/external/python/cpython3/Objects/
Dsliceobject.c197 PySlice_Unpack(PyObject *_r, in PySlice_Unpack() function
290 if (PySlice_Unpack(_r, start, stop, step) < 0) in PySlice_GetIndicesEx()
Dtupleobject.c783 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in tuplesubscript()
Dbytearrayobject.c412 if (PySlice_Unpack(index, &start, &stop, &step) < 0) { in bytearray_subscript()
643 if (PySlice_Unpack(index, &start, &stop, &step) < 0) { in bytearray_ass_subscript()
Dlistobject.c2817 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in list_subscript()
2867 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in list_ass_subscript()
Dmemoryobject.c2370 if (PySlice_Unpack(key, &start, &stop, &step) < 0) { in init_slice()
Dbytesobject.c1602 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in bytes_subscript()
Dunicodeobject.c14330 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in unicode_subscript()
/external/python/cpython3/Modules/
Dmmapmodule.c885 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in mmap_subscript()
994 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in mmap_ass_subscript()
Darraymodule.c2317 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in array_subscr()
2389 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in array_ass_subscr()
D_testbuffer.c1716 if (PySlice_Unpack(key, &start, &stop, &step) < 0) { in init_slice()
1936 if (PySlice_Unpack(key, &s[0], &s[1], &s[2]) < 0) { in slice_indices()
D_elementtree.c1747 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in element_subscr()
1804 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in element_ass_subscr()
/external/python/cpython3/PC/
Dpython3.def541 PySlice_Unpack=python39.PySlice_Unpack
/external/python/cpython3/Doc/data/
Drefcounts.dat2096 PySlice_Unpack:int:::
2097 PySlice_Unpack:PyObject*:slice:0:
2098 PySlice_Unpack:Py_ssize_t*:start::
2099 PySlice_Unpack:Py_ssize_t*:stop::
2100 PySlice_Unpack:Py_ssize_t*:step::
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c4620 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in Array_subscript()
4761 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in Array_ass_subscript()
/external/python/cpython2/Objects/
Dbytesobject.c1688 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in bytes_subscript()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1690 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
2456 avoiding possible problems use new functions :c:func:`PySlice_Unpack` and
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst6338 PySlice_Unpack() and PySlice_AdjustIndices().