mirror of
https://github.com/python/cpython.git
synced 2026-05-06 04:37:33 -04:00
[3.13] gh-72406: Document argument ordering in argparse help output (GH-148534) (#148567)
gh-72406: Document argument ordering in argparse help output (#148534)
(cherry picked from commit 4286227308)
Co-authored-by: Santi Hernandez <santi@santihdzs.com>
This commit is contained in:
committed by
GitHub
parent
5a4143a392
commit
ee34f95dbc
@@ -1888,6 +1888,9 @@ Argument groups
|
||||
Note that any arguments not in your user-defined groups will end up back
|
||||
in the usual "positional arguments" and "optional arguments" sections.
|
||||
|
||||
Within each argument group, arguments are displayed in help output in the
|
||||
order in which they are added.
|
||||
|
||||
.. versionchanged:: 3.11
|
||||
Calling :meth:`add_argument_group` on an argument group is deprecated.
|
||||
This feature was never supported and does not always work correctly.
|
||||
|
||||
Reference in New Issue
Block a user