summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
authorJamie Phan <jamie@ordinarylab.dev>2025-03-06 11:11:08 (GMT)
committerGitHub <noreply@github.com>2025-03-06 11:11:08 (GMT)
commit10cdd7f91ff45737e409a2e2c58fd8a9aa7c5a16 (patch)
treeda49474edd5f7bc7c3f61cdb6b6ddac47ade6c14 /Python/optimizer_bytecodes.c
parentaeb23273867b27818a3dabd5fca086a1a2e8d229 (diff)
downloadcpython-10cdd7f91ff45737e409a2e2c58fd8a9aa7c5a16.zip
cpython-10cdd7f91ff45737e409a2e2c58fd8a9aa7c5a16.tar.gz
cpython-10cdd7f91ff45737e409a2e2c58fd8a9aa7c5a16.tar.bz2
GH-130903: typo in optimizer DSL for _GUARD_BOTH_UNICODE (#130904)
Typo introduced in gh-118910.
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r--Python/optimizer_bytecodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c
index 4bdef60..ea7c39b 100644
--- a/Python/optimizer_bytecodes.c
+++ b/Python/optimizer_bytecodes.c
@@ -166,7 +166,7 @@ dummy_func(void) {
REPLACE_OP(this_instr, _NOP, 0 ,0);
}
sym_set_type(left, &PyUnicode_Type);
- sym_set_type(left, &PyUnicode_Type);
+ sym_set_type(right, &PyUnicode_Type);
}
op(_BINARY_OP, (left, right -- res)) {