]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126071: Improve formatting of the argparse documentation (GH-126073) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Oct 2024 09:10:10 +0000 (11:10 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2024 09:10:10 +0000 (09:10 +0000)
commitb4040c41ac943edf1f242c0945e2fe50ce5dab4f
treef963677756cc7d127dcfaf650b28c9bdc7b18a56
parent5df3c88432f9179850948ed2ca9c0fbf4a2176d6
[3.12] gh-126071: Improve formatting of the argparse documentation (GH-126073) (GH-126174)

* 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.
(cherry picked from commit 2ab377a47c8290f8bf52c8ffb5d7fc4c45452611)
Doc/library/argparse.rst