Skip to content
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

argparse: remove the type, choices, and metavar parameters but still in the documentation. #127013

Closed
loan75 opened this issue Nov 19, 2024 · 3 comments
Labels
docs Documentation in the Doc dir

Comments

@loan75
Copy link

loan75 commented Nov 19, 2024

Documentation

As indicated in the what's new of python3.14, Remove the type, choices, and metavar parameters of argparse.
https://docs.python.org/3.14/whatsnew/3.14.html#id1

But these arguments are still present in the documentation:
https://docs.python.org/3.14/library/argparse.html#type

i guess they should be removed.

@loan75 loan75 added the docs Documentation in the Doc dir label Nov 19, 2024
@ericvsmith
Copy link
Member

They were only removed for action=BooleanOptionalAction, not in general. But I don't see that documented for BooleanOptionalAction.

@brianschubert
Copy link
Contributor

Linking #118805 for context

@loan75 loan75 closed this as completed Nov 19, 2024
@loan75
Copy link
Author

loan75 commented Nov 19, 2024

Indeed, I didn't fully understand the documentation! My bad.
Thank your for your quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
Status: Todo
Development

No branches or pull requests

3 participants