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

Aliases used in example code are not documented #297

Open
muusik opened this issue Oct 24, 2024 · 0 comments
Open

Aliases used in example code are not documented #297

muusik opened this issue Oct 24, 2024 · 0 comments

Comments

@muusik
Copy link

muusik commented Oct 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant