https://github.com/python/cpython/commit/35bf9c62b161bfee22039946904f5761532b6d42
commit: 35bf9c62b161bfee22039946904f5761532b6d42
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2024-08-06T06:46:14Z
summary:

[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 <[email protected]>

files:
M Lib/re/_casefix.py
M Tools/build/generate_re_casefix.py

diff --git a/Lib/re/_casefix.py b/Lib/re/_casefix.py
index 06507d08bee02b..fed2d84fc01473 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 b57ac07426c27c..6cebfbd025c58c 100755
--- a/Tools/build/generate_re_casefix.py
+++ b/Tools/build/generate_re_casefix.py
@@ -23,9 +23,9 @@ def update_file(file, content):
 
 # 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):

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to