Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comments
  • Loading branch information
savannahostrowski committed Dec 18, 2025
commit 2e73cd542d7bee51713b3e7d6f0502070d8e18ed
2 changes: 1 addition & 1 deletion Lib/argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def colorize(match):
return f'{t.interpolated_value}{formatted}{t.reset}'
return spec

# Match %% (literal %) or %(name)... format specifiers
# Match %% or %(name)... format specifiers
result = _re.sub(r'%%|%\((\w+)\)[^a-z]*[a-z]', colorize,
Comment thread
savannahostrowski marked this conversation as resolved.
Outdated
help_string, flags=_re.IGNORECASE)

Expand Down
Loading