Skip to content

Commit

Permalink
Fix syntax in generate_re_casefix.py (python#122699)
Browse files Browse the repository at this point in the history
This was broken in pythongh-97963.
  • Loading branch information
JelleZijlstra authored and brandtbucher committed Aug 7, 2024
1 parent 6627cbb commit 13ee34f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Lib/re/_casefix.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Tools/build/generate_re_casefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 13ee34f

Please sign in to comment.