Skip to content

Improve formatting of the argparse documentation #126071

@serhiy-storchaka

Description

@serhiy-storchaka

The proposed PR improves formatting of the argparse documentation.

  • Use appropriate roles for ArgumentParser, Action, etc.
  • Remove superfluous repeated links.
  • Explicitly document signatures and add index entries for some methods and classes.
  • Make it more clear that some parameters are keyword-only.
  • Fix some minor errors.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesdocsDocumentation in the Doc dir

    Projects

    Status

    Doc issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions