From 35bf9c62b161bfee22039946904f5761532b6d42 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 6 Aug 2024 08:46:14 +0200 Subject: [PATCH] [3.13] Fix syntax in generate_re_casefix.py (GH-122699) (#122721) This was broken in gh-97963. (cherry picked from commit b72c748d7fb4ecc0bc4626c7bc05fbc6c83f0ba8) Co-authored-by: Jelle Zijlstra --- Lib/re/_casefix.py | 2 +- Tools/build/generate_re_casefix.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/re/_casefix.py b/Lib/re/_casefix.py index 06507d08bee..fed2d84fc01 100644 --- a/Lib/re/_casefix.py +++ b/Lib/re/_casefix.py @@ -1,4 +1,4 @@ -# Auto-generated by Tools/scripts/generate_re_casefix.py. +# Auto-generated by Tools/build/generate_re_casefix.py. # Maps the code of lowercased character to codes of different lowercased # characters which have the same uppercase. diff --git a/Tools/build/generate_re_casefix.py b/Tools/build/generate_re_casefix.py index b57ac07426c..6cebfbd025c 100755 --- a/Tools/build/generate_re_casefix.py +++ b/Tools/build/generate_re_casefix.py @@ -23,9 +23,9 @@ re_casefix_template = f"""\ # Maps the code of lowercased character to codes of different lowercased # characters which have the same uppercase. -_EXTRA_CASES = { +_EXTRA_CASES = {{ %s -} +}} """ def uname(i):