]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126071: Improve formatting of the argparse documentation (GH-126073)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Oct 2024 08:50:12 +0000 (10:50 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2024 08:50:12 +0000 (08:50 +0000)
commit2ab377a47c8290f8bf52c8ffb5d7fc4c45452611
treeb4b5a47981045ba17fec1471e47b3c8bc35e5836
parent00e5ec0d35193c1665e5c0cfe5ef82eed270d0f4
gh-126071: Improve formatting of the argparse documentation (GH-126073)

* Use appropriate roles for ArgumentParser, Action, etc.
* Remove superfluous repeated links.
* Explicitly document signatures and add index entries for some methods
  and classes.
* Make it more clear that some parameters are keyword-only.
* Fix some minor errors.
Doc/library/argparse.rst