/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Include/internal/pycore_sliceobject.h
20 строк
385 B
Pieter Eendebak
gh-145192: improve performance of `PySequence_GetSlice` (#145193)
23 май 2026, 13:15
Не верифицирован
23 май 2026, 13:15
dfeeee9
Код
Авторство
О чём код?
#ifndef Py_INTERNAL_SLICEOBJECT_H #define Py_INTERNAL_SLICEOBJECT_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif /* runtime lifecycle */ PyAPI_FUNC(PyObject *) _PyBuildSlice_ConsumeRefs(PyObject *start, PyObject *stop, PyObject *step); #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_SLICEOBJECT_H */