sliceobject.h File Reference

Classes

struct  PySliceObject
 

Macros

#define Py_Ellipsis
 
#define PySlice_Check(op)
 
#define PySlice_GetIndicesEx(slice, length, start, stop, step, slicelen)
 

Functions

 PyAPI_DATA (PyObject) _Py_EllipsisObject
 
 PyAPI_DATA (PyTypeObject) PySlice_Type
 
 PyAPI_FUNC (PyObject *) PySlice_New(PyObject *start
 
 PyAPI_FUNC (int) _PySlice_GetLongIndices(PySliceObject *self
 
 Py_DEPRECATED (3.7) PyAPI_FUNC(int) PySlice_GetIndicesEx(PyObject *r
 
 PyAPI_FUNC (Py_ssize_t) PySlice_AdjustIndices(Py_ssize_t length
 

Variables

PyObjectstop
 
PyObject PyObjectstep
 
PyObjectlength
 
PyObject PyObject ** start_ptr
 
PyObject PyObject PyObject ** stop_ptr
 
PyObject PyObject PyObject PyObject ** step_ptr
 
Py_ssize_t Py_ssize_tstart
 
Py_ssize_t Py_ssize_t Py_ssize_t Py_ssize_t Py_ssize_tslicelength
 

Macro Definition Documentation

◆ Py_Ellipsis

#define Py_Ellipsis

◆ PySlice_Check

#define PySlice_Check (   op)

◆ PySlice_GetIndicesEx

#define PySlice_GetIndicesEx (   slice,
  length,
  start,
  stop,
  step,
  slicelen 
)

Function Documentation

◆ PyAPI_DATA() [1/2]

PyAPI_DATA ( PyObject  )

◆ PyAPI_DATA() [2/2]

PyAPI_DATA ( PyTypeObject  )

◆ PyAPI_FUNC() [1/3]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [2/3]

PyAPI_FUNC ( int  )

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  7)

◆ PyAPI_FUNC() [3/3]

PyAPI_FUNC ( Py_ssize_t  )

Variable Documentation

◆ stop

◆ step

◆ length

Py_ssize_t length

◆ start_ptr

PyObject PyObject** start_ptr

◆ stop_ptr

◆ step_ptr

◆ start

Py_ssize_t* start

◆ slicelength