sliceobject.h 418 B

123456789101112131415161718192021222324
  1. #ifndef Py_SLICEOBJECT_H
  2. #define Py_SLICEOBJECT_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /* The unique ellipsis object "..." */
  7. PyAPI_DATA(PyObject) _Py_EllipsisObject; /* Don't use this directly */
  8. #define Py_Ellipsis (&_Py_EllipsisObject)
  9. typedef struct {
  10. PyObject_HEAD
  11. PyObject *start;
  12. PyObject *stop;
  13. PyObject *step;
  14. } PySliceObject;
  15. #ifdef __cplusplus
  16. }
  17. #endif
  18. #endif /* !Py_SLICEOBJECT_H */