Skip to content

argparse.ArgumentParser.error() never returns #2081

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
gvanrossum opened this issue Apr 25, 2018 · 0 comments
Closed

argparse.ArgumentParser.error() never returns #2081

gvanrossum opened this issue Apr 25, 2018 · 0 comments

Comments

@gvanrossum
Copy link
Member

It should be declared as -> NoReturn.

gvanrossum pushed a commit to gvanrossum/mypy that referenced this issue Apr 25, 2018
JelleZijlstra added a commit that referenced this issue Apr 26, 2018
And neither does `.exit`.

Fixes #2081.
gvanrossum pushed a commit that referenced this issue Apr 26, 2018
gwk pushed a commit to gwk/typeshed that referenced this issue May 29, 2018
yedpodtrzitko pushed a commit to yedpodtrzitko/typeshed that referenced this issue Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant