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

Review and simplify argparse docs #124478

Closed
savannahostrowski opened this issue Sep 25, 2024 · 2 comments
Closed

Review and simplify argparse docs #124478

savannahostrowski opened this issue Sep 25, 2024 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@savannahostrowski
Copy link
Member

savannahostrowski commented Sep 25, 2024

The argparse docs have become pretty lengthy. This is in part due to the examples, which are somewhat duplicative of the tutorial. I'd like to go through the docs to see if we can dedupe and pare things down to make them more readable.

Linked PRs

@savannahostrowski savannahostrowski added the docs Documentation in the Doc dir label Sep 25, 2024
@savannahostrowski savannahostrowski self-assigned this Sep 25, 2024
@rruuaanng
Copy link
Contributor

rruuaanng commented Sep 26, 2024

I believe that argparse does not need to display sample code, only the public API needs to be shown.

@hugovk
Copy link
Member

hugovk commented Sep 26, 2024

I disagree, argparse is part of the public API and sample code is useful to show how to use it.

savannahostrowski added a commit to savannahostrowski/cpython that referenced this issue Oct 3, 2024
savannahostrowski added a commit to savannahostrowski/cpython that referenced this issue Oct 7, 2024
savannahostrowski added a commit to savannahostrowski/cpython that referenced this issue Oct 8, 2024
JelleZijlstra added a commit that referenced this issue Oct 8, 2024
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
savannahostrowski added a commit to savannahostrowski/cpython that referenced this issue Oct 8, 2024
(cherry picked from commit 37228bd)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
JelleZijlstra added a commit that referenced this issue Oct 8, 2024
(cherry picked from commit 37228bd)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
JelleZijlstra added a commit that referenced this issue Oct 8, 2024
(cherry picked from commit 37228bd)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
efimov-mikhail pushed a commit to efimov-mikhail/cpython that referenced this issue Oct 9, 2024
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

3 participants