8000 Add new Python 3.14 `argparse.ArgumentParser` constructor parameters by edgarrmondragon · Pull Request #13947 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Add new Python 3.14 argparse.ArgumentParser constructor parameters #13947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 12, 2025
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
Annotate instance attributes
  • Loading branch information
edgarrmondragon committed May 6, 2025
commit 271997fc4c76a4ad8c1710d8be2b3d760b9cb6e6
5 changes: 5 additions & 0 deletions stdlib/argparse.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ class ArgumentParser(_AttributeHolder, _ActionsContainer):
fromfile_prefix_chars: str | None
add_help: bool
allow_abbrev: bool
exit_on_error: bool

if sys.version_info >= (3, 14):
suggest_on_error: bool
color: bool

# undocumented
_positionals: _ArgumentGroup
Expand Down
0