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

Deprecate prefix_chars in argument_group #125542

Closed
savannahostrowski opened this issue Oct 15, 2024 · 2 comments
Closed

Deprecate prefix_chars in argument_group #125542

savannahostrowski opened this issue Oct 15, 2024 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@savannahostrowski
Copy link
Member

savannahostrowski commented Oct 15, 2024

Now, after conflict_handler and argument_default have been documented, we can deprecate prefix_chars. @savannahostrowski, are you interesting? We should just add a runtime warning in the _ArgumentGroup constructor, test, and documentation (the deprecated instruction and something in What's New).

Originally posted by @serhiy-storchaka in #89819 (comment)

https://docs.python.org/3/library/argparse.html#argument-groups

Linked PRs

@serhiy-storchaka
Copy link
Member

Strictly, speaking, there was no need to open a new issue, as this change is the solution for #89819.

@savannahostrowski
Copy link
Member Author

D'oh! My bad—I must have mistakenly done this, thinking the other issue was closed after I documented the other two parameters!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

2 participants