diff options
| author | Guido van Rossum <guido@python.org> | 2024-01-22 11:56:28 (GMT) | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 11:56:28 (GMT) | 
| commit | 2f2ddabd1a02e3095b751100b94b529e4e0bcd20 (patch) | |
| tree | fbc9e0af96b6f95d027cb9042f519e5294f63718 /Python | |
| parent | d1b031cc58516e1aba823fd613528417a996f50d (diff) | |
| download | cpython-2f2ddabd1a02e3095b751100b94b529e4e0bcd20.zip cpython-2f2ddabd1a02e3095b751100b94b529e4e0bcd20.tar.gz cpython-2f2ddabd1a02e3095b751100b94b529e4e0bcd20.tar.bz2  | |
gh-113102: Fix typo in INSTRUMENTED_RESUME (GH-114349)
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/bytecodes.c | 2 | ||||
| -rw-r--r-- | Python/generated_cases.c.h | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index c48f0a1..7674ff8 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -192,7 +192,7 @@ dummy_func(                  ERROR_IF(err, error);                  if (frame->instr_ptr != this_instr) {                      /* Instrumentation has jumped */ -                    next_instr = this_instr; +                    next_instr = frame->instr_ptr;                      DISPATCH();                  }              } diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 6846872..c4bb3ae 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -3156,7 +3156,7 @@                  if (err) goto error;                  if (frame->instr_ptr != this_instr) {                      /* Instrumentation has jumped */ -                    next_instr = this_instr; +                    next_instr = frame->instr_ptr;                      DISPATCH();                  }              }  | 
