Skip to content

Commit 0bed7a4

Browse files
ordinary-jamieseehwan80
authored andcommitted
pythonGH-130903: typo in optimizer DSL for _GUARD_BOTH_UNICODE (python#130904)
Typo introduced in pythongh-118910.
1 parent b80dd2c commit 0bed7a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ dummy_func(void) {
166166
REPLACE_OP(this_instr, _NOP, 0 ,0);
167167
}
168168
sym_set_type(left, &PyUnicode_Type);
169-
sym_set_type(left, &PyUnicode_Type);
169+
sym_set_type(right, &PyUnicode_Type);
170170
}
171171

172172
op(_BINARY_OP, (left, right -- res)) {

Python/optimizer_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)