Home
last modified time | relevance | path

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

/third_party/python/Doc/c-api/
Dslice.rst60 :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices` where ::
68 if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {
81 :c:func:`!PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`.
90 .. c:function:: int PySlice_Unpack(PyObject *slice, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t…
/third_party/python/Include/
Dsliceobject.h51 PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
55 PyAPI_FUNC(int) PySlice_Unpack(PyObject *slice,
/third_party/python/Objects/
Dsliceobject.c203 PySlice_Unpack(PyObject *_r, in PySlice_Unpack() function
296 if (PySlice_Unpack(_r, start, stop, step) < 0) in PySlice_GetIndicesEx()
Dbytearrayobject.c406 if (PySlice_Unpack(index, &start, &stop, &step) < 0) { in bytearray_subscript()
637 if (PySlice_Unpack(index, &start, &stop, &step) < 0) { in bytearray_ass_subscript()
Dtupleobject.c832 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in tuplesubscript()
Dlistobject.c2836 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in list_subscript()
2886 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in list_ass_subscript()
Dmemoryobject.c2395 if (PySlice_Unpack(key, &start, &stop, &step) < 0) { in init_slice()
Dbytesobject.c1617 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in bytes_subscript()
Dunicodeobject.c14590 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in unicode_subscript()
/third_party/python/Doc/data/
Drefcounts.dat2076 PySlice_Unpack:int:::
2077 PySlice_Unpack:PyObject*:slice:0:
2078 PySlice_Unpack:Py_ssize_t*:start::
2079 PySlice_Unpack:Py_ssize_t*:stop::
2080 PySlice_Unpack:Py_ssize_t*:step::
Dstable_abi.dat562 function,PySlice_Unpack,3.7,
/third_party/python/Modules/
Dmmapmodule.c914 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in mmap_subscript()
1023 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in mmap_ass_subscript()
Darraymodule.c2362 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in array_subscr()
2435 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.c1744 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in element_subscr()
1801 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in element_ass_subscr()
/third_party/python/PC/
Dpython3dll.c522 EXPORT_FUNC(PySlice_Unpack)
/third_party/python/Misc/
Dstable_abi.txt1983 function PySlice_Unpack
/third_party/python/Modules/_ctypes/
D_ctypes.c4618 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in Array_subscript()
4757 if (PySlice_Unpack(item, &start, &stop, &step) < 0) { in Array_ass_subscript()
/third_party/python/Doc/whatsnew/
D3.7.rst1691 Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
2457 avoiding possible problems use new functions :c:func:`PySlice_Unpack` and
/third_party/python/Misc/NEWS.d/
D3.7.0a1.rst6338 PySlice_Unpack() and PySlice_AdjustIndices().