Skip to content

Commit f4d0879

Browse files
authored
pythongh-103582: Remove last references to argparse.REMAINDER from docs (python#103586)
1 parent e989e0b commit f4d0879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/argparse.rst

+2-2
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
====================== =========================================================== ==========================================================================================================================
@@ -2218,7 +2218,7 @@ support this parsing style.
22182218

22192219
These parsers do not support all the argparse features, and will raise
22202220
exceptions if unsupported features are used. In particular, subparsers,
2221-
``argparse.REMAINDER``, and mutually exclusive groups that include both
2221+
and mutually exclusive groups that include both
22222222
optionals and positionals are not supported.
22232223

22242224
The following example shows the difference between

0 commit comments

Comments
 (0)