]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-122679: Add `register()` to argparse docs (#126939)
authorSavannah Ostrowski <savannahostrowski@gmail.com>
Fri, 22 Nov 2024 00:36:11 +0000 (16:36 -0800)
committerGitHub <noreply@github.com>
Fri, 22 Nov 2024 00:36:11 +0000 (16:36 -0800)
commitfcfdb55465636afc256bc29781b283404d88e6ca
tree6f86110df9f40d928bc52195217eb6a463df26de
parentfd133d4f21cd7f5cbf6bcf332290ce52e5501167
GH-122679: Add `register()` to argparse docs (#126939)

* Add register() to argparse docs

* Add newline

* Formatting

* Fix codeblock

* Move section

* Add signature

* Add newline

* Fix indent

* Fix indent take 2

* Rephrase

* Simplify language

* Address PR comments

* Add references to register in type and action

* Remove unnecessary reference

* Rephrase and add success case
Doc/library/argparse.rst