https://github.com/python/cpython
Raw File
Tip revision: 62aeb0ee69b06091396398de56dcb755ca3b9dc9 authored by Brandt Bucher on 06 April 2024, 15:26:43 UTC
GH-117512: Allow 64-bit JIT operands on 32-bit platforms (GH-117527)
Tip revision: 62aeb0e
pycore_range.h
#ifndef Py_INTERNAL_RANGE_H
#define Py_INTERNAL_RANGE_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
#  error "this header requires Py_BUILD_CORE define"
#endif

typedef struct {
    PyObject_HEAD
    long start;
    long step;
    long len;
} _PyRangeIterObject;

#ifdef __cplusplus
}
#endif
#endif   /* !Py_INTERNAL_RANGE_H */
back to top