Skip to content

Commit 440ad03

Browse files
address review
1 parent 5f39672 commit 440ad03

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.github/workflows/jit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
fail-fast: false
5858
matrix:
5959
target:
60-
# To re-enable later when we support thesee.
60+
# To re-enable later when we support these.
6161
# - i686-pc-windows-msvc/msvc
6262
# - x86_64-pc-windows-msvc/msvc
6363
# - aarch64-pc-windows-msvc/msvc
@@ -71,7 +71,7 @@ jobs:
7171
llvm:
7272
- 19
7373
include:
74-
# To re-enable later when we support thesee.
74+
# To re-enable later when we support these.
7575
# - target: i686-pc-windows-msvc/msvc
7676
# architecture: Win32
7777
# runner: windows-2022

Include/internal/pycore_backoff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ initial_unreachable_backoff_counter(void)
135135
}
136136

137137
// Required to not get stuck in infinite specialization loops due to specialization failure.
138-
// We use 2 here as tnere are a few scenarios:
138+
// We use 2 here as there are a few scenarios:
139139
// 1. Freshly specialized from unspecialized, in which case the counter will be 1.
140140
// 2. Re-specialized from deopt, in which case the counter will be 1.
141141
// 3. Deopt -> Specialize -> Deopt -> Specialize, in which case the counter will be 2.

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3232,7 +3232,7 @@ dummy_func(
32323232
ERROR_NO_POP();
32333233
}
32343234
/* iterator ended normally */
3235-
/* This just sets the IP to what it expects (see normal _FOR_ITER */
3235+
/* This just sets the IP to what it expects (see normal _FOR_ITER) */
32363236
frame->instr_ptr += (oparg + 2 + INLINE_CACHE_ENTRIES_FOR_ITER);
32373237
EXIT_IF(true);
32383238
}

Python/ceval_macros.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ do { \
209209
JUMP_TO_LABEL(start_frame); \
210210
} while (0)
211211

212-
213212
/* Tuple access macros */
214213

215214
#ifndef Py_DEBUG

Tools/cases_generator/tier1_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def generate_tier1_cases(
288288
out.start_line()
289289
if reachable: # type: ignore[possibly-undefined]
290290
stack.flush(out)
291-
out.emit(f"DISPATCH();\n")
291+
out.emit("DISPATCH();\n")
292292
out.start_line()
293293
out.emit("}")
294294
out.emit("\n")

0 commit comments

Comments
 (0)