]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
no-issue: Fix optimizer_generator.py to print abstract_uop_name properly (gh-143366)
authorDonghee Na <donghee.na@python.org>
Fri, 2 Jan 2026 17:18:15 +0000 (02:18 +0900)
committerGitHub <noreply@github.com>
Fri, 2 Jan 2026 17:18:15 +0000 (17:18 +0000)
Tools/cases_generator/optimizer_generator.py

index ab0a90e234b1243945b4659f5149d9ae0571b39b..eb0c9ef36ce7d26c134de5f0569b2dd226220305 100644 (file)
@@ -424,7 +424,7 @@ def generate_abstract_interpreter(
     for abstract_uop_name in abstract.uops:
         if abstract_uop_name not in base_uop_names:
             raise ValueError(f"All abstract uops should override base uops, "
-                                 "but {abstract_uop_name} is not.")
+                                 f"but {abstract_uop_name} is not.")
 
     for uop in base.uops.values():
         override: Uop | None = None