Skip to content

Commit 4524881

Browse files
committed
Make new color parameter keyword-only
1 parent 11b2c6d commit 4524881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/argparse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,7 @@ def __init__(self,
18871887
allow_abbrev=True,
18881888
exit_on_error=True,
18891889
suggest_on_error=False,
1890+
*,
18901891
color=False,
18911892
):
18921893
superinit = super(ArgumentParser, self).__init__

0 commit comments

Comments
 (0)