Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5a81a24

Browse filesBrowse 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
Copy full SHA for 5a81a24

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎Doc/library/argparse.rst

Copy file name to clipboardExpand all lines: Doc/library/argparse.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.