Lines Matching refs:SLICE
1839 TARGET_WITH_IMPL_NOARG(SLICE, _slice)
1845 if ((opcode-SLICE) & 2)
1849 if ((opcode-SLICE) & 1)
4694 /* Extract a slice index from a PyInt or PyLong or an object with the
4702 called by the SLICE opcode with v and/or w equal to NULL.
4723 "slice indices must be integers or "
4743 "slice indices must be integers or "
4770 PyObject *slice = PySlice_New(v, w, NULL);
4771 if (slice != NULL) {
4772 PyObject *res = PyObject_GetItem(u, slice);
4773 Py_DECREF(slice);
4800 PyObject *slice = PySlice_New(v, w, NULL);
4801 if (slice != NULL) {
4804 res = PyObject_SetItem(u, slice, x);
4806 res = PyObject_DelItem(u, slice);
4807 Py_DECREF(slice);