Skip to content

Document argparse.ArgumentParser.parse_args order guarantee #143860

@pdgendt

Description

@pdgendt

Feature or enhancement

Proposal:

See the linked discourse discussion for full details, TLDR:

The parse_args doc says " args - List of strings to parse. …" The proposal is to add something like ‘, in normal order’ to the end of the sentence.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

https://discuss.python.org/t/argparse-multiple-arguments-with-the-same-destination-left-to-right-order-guarantee/105685/13

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions