Skip to content
Prev Previous commit
Next Next commit
Remove gi_code field
  • Loading branch information
markshannon committed Feb 21, 2023
commit 1357cf0449409343f0215b74f820195dd2ede8a3
5 changes: 1 addition & 4 deletions Include/cpython/genobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ extern "C" {
char prefix##_running_async; \
/* The frame */ \
int8_t prefix##_frame_state; \
union { \
Py_DEPRECATED(3.12) PyCodeObject *prefix##_code; \
PyObject *prefix##_iframe[1]; \
};
PyObject *prefix##_iframe[1]; \

typedef struct {
/* The gi_ prefix is intended to remind of generator-iterator. */
Expand Down