]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92446: Improve argparse choices docs; revert bad change to lzma docs (#94627)
authorGuy Yagev <yourlefthandman8@gmail.com>
Mon, 26 Dec 2022 06:22:53 +0000 (08:22 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Dec 2022 06:22:53 +0000 (00:22 -0600)
commitad3c99e521151680afc65d3f8a7d2167ec1969ad
treec461b77995b3f08c8a366d1ddddcaa8fbdb9bc87
parentdbc1e696ebf273bc62545d999eb185d6c9470e71
gh-92446: Improve argparse choices docs; revert bad change to lzma docs (#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 #92450 was mistaken; this PR reverts that change.

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