8000 bpo-20039: Add doc to argparse.ArgumentTypeError by ukarroum · Pull Request #31125 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-20039: Add doc to argparse.ArgumentTypeError #31125

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

Closed
wants to merge 3 commits into from
Closed
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
bpo-20039: Fixed mistake where 'Added in version 3.7' was in the bad …
…place
  • Loading branch information
ukarroum committed Oct 26, 2023
commit 5f14ece61938de46432738be1c6281f3a47a439f
4 changes: 2 additions & 2 deletions Doc/library/argparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2130,15 +2130,15 @@ containing the populated namespace and the list of remaining argument strings.
:meth:`~ArgumentParser.parse_intermixed_args` raises an error if there are any
remaining unparsed argument strings.

.. versionadded:: 3.7

Exceptions
^^^^^^^^^^

.. exception:: ArgumentTypeError

An error from trying to convert a command line string to a type

.. versionadded:: 3.7

.. _upgrading-optparse-code:

Upgrading optparse code
Expand Down
0