Skip to content

GH-106235: Clarify parse_known_args documentation by removing "remaining" #126921

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

Merged
merged 3 commits into from
May 30, 2025

Conversation

savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Nov 17, 2024

"Remaining" is a bit ambiguous and uses conflated terminology to describe the behaviour of parse_known_args (i.e., this isn't about the remainder of the arguments; it's about the known vs. unknown arguments)


📚 Documentation preview 📚: https://cpython-previews--126921.org.readthedocs.build/

@savannahostrowski savannahostrowski linked an issue Nov 17, 2024 that may be closed by this pull request
@savannahostrowski savannahostrowski merged commit a425141 into python:main May 30, 2025
25 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs May 30, 2025
@savannahostrowski savannahostrowski added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels May 30, 2025
@miss-islington-app
Copy link

Thanks @savannahostrowski for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @savannahostrowski for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 30, 2025
… "remaining" (pythonGH-126921)

(cherry picked from commit a425141)

Co-authored-by: Savannah Bailey <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 30, 2025
… "remaining" (pythonGH-126921)

(cherry picked from commit a425141)

Co-authored-by: Savannah Bailey <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented May 30, 2025

GH-134913 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 30, 2025
@bedevere-app
Copy link

bedevere-app bot commented May 30, 2025

GH-134914 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label May 30, 2025
savannahostrowski added a commit that referenced this pull request May 30, 2025
…g "remaining" (GH-126921) (#134913)

GH-106235: Clarify `parse_known_args` documentation by removing "remaining" (GH-126921)
(cherry picked from commit a425141)

Co-authored-by: Savannah Bailey <[email protected]>
savannahostrowski added a commit that referenced this pull request May 30, 2025
…g "remaining" (GH-126921) (#134914)

GH-106235: Clarify `parse_known_args` documentation by removing "remaining" (GH-126921)
(cherry picked from commit a425141)

Co-authored-by: Savannah Bailey <[email protected]>
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 skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Argparse: improve parse_known_args() doc
1 participant