mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-111354: simplify detection of RESUME after YIELD_VALUE at except-depth 1 (#111459)
This commit is contained in:
parent
970e719a7a
commit
52cc4af6ae
18 changed files with 362 additions and 339 deletions
|
@ -64,6 +64,8 @@ extern "C" {
|
|||
#define RESUME_AFTER_YIELD_FROM 2
|
||||
#define RESUME_AFTER_AWAIT 3
|
||||
|
||||
#define RESUME_OPARG_LOCATION_MASK 0x3
|
||||
#define RESUME_OPARG_DEPTH1_MASK 0x4
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue