Download mantis_evalkit/include/python3.10/pyframe.h from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mantis_evalkit/include/python3.10/pyframe.h
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/mantis_evalkit/include/python3.10/pyframe.h
-
curl -L -o pyframe.h https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mantis_evalkit/include/python3.10/pyframe.h
466 Bytes
| /* Limited C API of PyFrame API | |
| * | |
| * Include "frameobject.h" to get the PyFrameObject structure. | |
| */ | |
| extern "C" { | |
| typedef struct _frame PyFrameObject; | |
| /* Return the line of code the frame is currently executing. */ | |
| PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); | |
| PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame); | |
| } | |