]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-92446: Improve argparse choices docs (GH-94627) (#100528)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Mon, 26 Dec 2022 07:09:06 +0000 (01:09 -0600)
committerGitHub <noreply@github.com>
Mon, 26 Dec 2022 07:09:06 +0000 (01:09 -0600)
commit2cb4b13af6ac975b1a98ddc7d117c3b25398ccf0
tree420fbdb5dd4207796449c3faca8a947e6659fcc2
parent75b75dfdacc25a0ffc125c2e372036c3f799f5ea
[3.11] gh-92446: Improve argparse choices docs (GH-94627) (#100528)

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 ad3c99e521)

Co-authored-by: Guy Yagev <yourlefthandman8@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/library/argparse.rst