Sitelet https://github.com/python/cpython/issues/125542
Skip to content

Deprecate prefix_chars in argument_group #125542

Description

@savannahostrowski

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

Activity

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

Metadata

Metadata

Labels

stdlibStandard Library Python modules in the Lib/ directory

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions