]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-92446: Improve argparse choices docs (GH-94627) (#100529)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Mon, 26 Dec 2022 07:10:48 +0000 (01:10 -0600)
committerGitHub <noreply@github.com>
Mon, 26 Dec 2022 07:10:48 +0000 (01:10 -0600)
commita167365d8585c373ff3bdff0d48bffb7e74581e5
treee274e098891fbf8dd16f08a8c4d1ed10d0030bfe
parent9975d4e7bac052c320880e026f757cddaa91b4bf
[3.10] gh-92446: Improve argparse choices docs (GH-94627)  (#100529)

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