Skip to content

Commit a28f2c5

Browse files
reduce diff
1 parent c7bdb4f commit a28f2c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Lib/test/test_sys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,9 +1621,9 @@ def func():
16211621
return sys._getframe()
16221622
x = func()
16231623
if support.Py_GIL_DISABLED:
1624-
INTERPRETER_FRAME = f'10PhcP'
1624+
INTERPRETER_FRAME = '10PhcP'
16251625
else:
1626-
INTERPRETER_FRAME = f'9PhcP'
1626+
INTERPRETER_FRAME = '9PhcP'
16271627
check(x, size('3PiccPP' + INTERPRETER_FRAME + 'P'))
16281628
# function
16291629
def func(): pass

Python/ceval_macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#if LLTRACE
9090
#define LLTRACE_RESUME_FRAME() \
9191
do { \
92-
lltrace = maybe_lltrace_resume_frame(frame, GLOBALS()); \
92+
int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS()); \
9393
frame->lltrace = lltrace;
9494
if (lltrace < 0) { \
9595
goto exit_unwind; \

0 commit comments

Comments
 (0)