Skip to content

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

Closed
ukarroum wants to merge 3 commits into
python:mainfrom
ukarroum:fix-issue-20039
Closed

bpo-20039: Add doc to argparse.ArgumentTypeError#31125
ukarroum wants to merge 3 commits into
python:mainfrom
ukarroum:fix-issue-20039

Conversation

@ukarroum

@ukarroumukarroum commented Feb 4, 2022

Copy link
Copy Markdown
Contributor

@MaxwellDupreMaxwellDupre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this adds value.

@nanjekyejoannahnanjekyejoannah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If so do we need to document ArgumentError as well too?

Comment threadDoc/library/argparse.rst Outdated

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

.. versionadded:: 3.7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be above the 'Exceptions' header.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@ukarroum

Copy link
Copy Markdown
ContributorAuthor

Looks like this issue was already solved in this commit: 79ae019
closing the pull request

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core reviewdocsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@ukarroum@MaxwellDupre@nanjekyejoannah@slateny@hugovk@the-knights-who-say-ni@ezio-melotti@bedevere-bot