File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,11 @@ PyAPI_FUNC(int) PyUnstable_InterpreterFrame_GetLasti(struct _PyInterpreterFrame
3333/* Returns the currently executing line number, or -1 if there is no line number.
3434 * Does not raise an exception. */
3535PyAPI_FUNC (int ) PyUnstable_InterpreterFrame_GetLine (struct _PyInterpreterFrame * frame );
36+
37+ #define PY_EXECUTABLE_KIND_SKIP 0
38+ #define PY_EXECUTABLE_KIND_PY_FUNCTION 1
39+ #define PY_EXECUTABLE_KIND_BUILTIN_FUNCTION 3
40+ #define PY_EXECUTABLE_KIND_METHOD_DESCRIPTOR 4
41+ #define PY_EXECUTABLE_KINDS 5
42+
43+ PyAPI_DATA (const PyTypeObject * ) const PyUnstable_ExecutableKinds [PY_EXECUTABLE_KINDS + 1 ];
Original file line number Diff line number Diff line change @@ -311,14 +311,6 @@ PyGenObject *_PyFrame_GetGenerator(_PyInterpreterFrame *frame)
311311 return (PyGenObject * )(((char * )frame ) - offset_in_gen );
312312}
313313
314- #define PY_EXECUTABLE_KIND_SKIP 0
315- #define PY_EXECUTABLE_KIND_PY_FUNCTION 1
316- #define PY_EXECUTABLE_KIND_BUILTIN_FUNCTION 3
317- #define PY_EXECUTABLE_KIND_METHOD_DESCRIPTOR 4
318- #define PY_EXECUTABLE_KINDS 5
319-
320- PyAPI_DATA (const PyTypeObject * ) const PyUnstable_ExecutableKinds [PY_EXECUTABLE_KINDS + 1 ];
321-
322314#ifdef __cplusplus
323315}
324316#endif
You can’t perform that action at this time.
0 commit comments