Skip to content

Commit 987af8b

Browse files
Clean up
1 parent b3deacc commit 987af8b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/argparse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ def colorize(match):
708708
result = _re.sub(r'%%|%\((\w+)\)[^a-z]*[a-z]', colorize,
709709
help_string, flags=_re.IGNORECASE)
710710

711-
# Check for invalid/unmatched % specifiers
712711
if '%' in result:
713712
raise ValueError(f"invalid format specifier in: {help_string!r}")
714713
return result

0 commit comments

Comments
 (0)