← 返回首页
[3.10] gh-92446: Improve argparse choices docs (GH-94627) by hauntsaninja · Pull Request #100529 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[3.10] gh-92446: Improve argparse choices docs (GH-94627) #100529

Merged
hauntsaninja merged 1 commit into
python:3.10from
hauntsaninja:backport-ad3c99e-3.10
Dec 26, 2022
Merged

[3.10] gh-92446: Improve argparse choices docs (GH-94627) #100529
hauntsaninja merged 1 commit into
python:3.10from
hauntsaninja:backport-ad3c99e-3.10

Conversation

hauntsaninja commented Dec 26, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Based on the definition of the collections.abc classes, it is more accurate to use "sequence" instead of "container" when describing argparse choices.

(cherry picked from commit ad3c99e)

Co-authored-by: Guy Yagev yourlefthandman8@gmail.com
Co-authored-by: Shantanu 12621235+hauntsaninja@users.noreply.github.com

…ge to lzma docs (pythonGH-94627) Based on the definition of the collections.abc classes, it is more accurate to use "sequence" instead of "container" when describing argparse choices. A previous attempt at fixing this in pythonGH-92450 was mistaken; this PR reverts that change. (cherry picked from commit ad3c99e) Co-authored-by: Guy Yagev <yourlefthandman8@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.