Skip to content

Commit 5a81a24

Browse files
gh-103582: Remove last references to argparse.REMAINDER from docs (GH-103586)
(cherry picked from commit f4d0879) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 1dad3d1 commit 5a81a24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/argparse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ default_ Default value used when an argument is not provided
6767
dest_ Specify the attribute name used in the result namespace
6868
help_ Help message for an argument
6969
metavar_ Alternate display name for the argument as shown in help
70-
nargs_ Number of times the argument can be used :class:`int`, ``'?'``, ``'*'``, ``'+'``, or ``argparse.REMAINDER``
70+
nargs_ Number of times the argument can be used :class:`int`, ``'?'``, ``'*'``, or ``'+'``
7171
required_ Indicate whether an argument is required or optional ``True`` or ``False``
7272
type_ Automatically convert an argument to the given type :class:`int`, :class:`float`, ``argparse.FileType('w')``, or callable function
7373
====================== =========================================================== ==========================================================================================================================
@@ -2186,7 +2186,7 @@ support this parsing style.
21862186

21872187
These parsers do not support all the argparse features, and will raise
21882188
exceptions if unsupported features are used. In particular, subparsers,
2189-
``argparse.REMAINDER``, and mutually exclusive groups that include both
2189+
and mutually exclusive groups that include both
21902190
optionals and positionals are not supported.
21912191

21922192
The following example shows the difference between

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy