Skip to content

Aliases used in example code are not documented #297

@muusik

Description

@muusik

Names used in example code, specifically ArgParser and ArgumentParser.add, are not documented.

(End of bug report. What follows is just by the bye.)

I found the definition for the first one in code (next to Parser, another alias to ArgumentParser), but could not figure out what exactly the second one does. I assume it's somehow equivalent to add_argument, but couldn't actually confirm that by briefly searching through the code of ConfigArgParse code and stdlib ArgParse. Edit: Oh, I see it now, it's defined right next to the other aliases, I was just confused by the _ActionsContainer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions