| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,13 +28,13 @@ typedef struct _frame { | |||
| 28 | 28 | PyObject **f_stacktop; | |
| 29 | 29 | PyObject *f_trace; /* Trace function */ | |
| 30 | 30 | ||
| 31 | - /* In a generator, we need to be able to swap between the exception | ||
| 32 | - state inside the generator and the exception state of the calling | ||
| 33 | - frame (which shouldn't be impacted when the generator "yields" | ||
| 34 | - from an except handler). | ||
| 35 | - These three fields exist exactly for that, and are unused for | ||
| 36 | - non-generator frames. See the save_exc_state and swap_exc_state | ||
| 37 | - functions in ceval.c for details of their use. */ | ||
| 31 | + /* In a generator, we need to be able to swap between the exception | ||
| 32 | + state inside the generator and the exception state of the calling | ||
| 33 | + frame (which shouldn't be impacted when the generator "yields" | ||
| 34 | + from an except handler). | ||
| 35 | + These three fields exist exactly for that, and are unused for | ||
| 36 | + non-generator frames. See the save_exc_state and swap_exc_state | ||
| 37 | + functions in ceval.c for details of their use. */ | ||
| 38 | 38 | PyObject *f_exc_type, *f_exc_value, *f_exc_traceback; | |
| 39 | 39 | /* Borrowed reference to a generator, or NULL */ | |
| 40 | 40 | PyObject *f_gen; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments