]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-126071: Improve formatting of the argparse documentation (GH-126073) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Oct 2024 09:21:38 +0000 (11:21 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Oct 2024 09:21:38 +0000 (09:21 +0000)
commit6b0ef1fd6f4915873b0e753df4c47404f55f30e8
treeac6a4658436dbce05c9a009dca81726dc6e13464
parentde9ff23ea1546035080b90f2aed1df299b6293cc
[3.13] gh-126071: Improve formatting of the argparse documentation (GH-126073) (GH-126173)

* 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