Skip to content

Commit 2e73cd5

Browse files
Comments
1 parent 987af8b commit 2e73cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/argparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ def colorize(match):
704704
return f'{t.interpolated_value}{formatted}{t.reset}'
705705
return spec
706706

707-
# Match %% (literal %) or %(name)... format specifiers
707+
# Match %% or %(name)... format specifiers
708708
result = _re.sub(r'%%|%\((\w+)\)[^a-z]*[a-z]', colorize,
709709
help_string, flags=_re.IGNORECASE)
710710

0 commit comments

Comments
 (0)