mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
gh-133300: argparse: make suggest_on_error a keyword-only parameter (#133302)
This commit is contained in:
parent
f2379535fe
commit
e6c518d2eb
3 changed files with 4 additions and 2 deletions
|
|
@ -1886,8 +1886,8 @@ class ArgumentParser(_AttributeHolder, _ActionsContainer):
|
|||
add_help=True,
|
||||
allow_abbrev=True,
|
||||
exit_on_error=True,
|
||||
suggest_on_error=False,
|
||||
*,
|
||||
suggest_on_error=False,
|
||||
color=False,
|
||||
):
|
||||
superinit = super(ArgumentParser, self).__init__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue