]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-103582: Remove last references to `argparse.REMAINDER` from docs (#103586)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 19 Apr 2023 05:02:48 +0000 (08:02 +0300)
committerGitHub <noreply@github.com>
Wed, 19 Apr 2023 05:02:48 +0000 (23:02 -0600)
Doc/library/argparse.rst

index ee68ac58d3de753ebcaa3f339bc54b373933f992..dd59181a30702e63c68c9ffc5efb31e486badecc 100644 (file)
@@ -67,7 +67,7 @@ default_               Default value used when an argument is not provided
 dest_                  Specify the attribute name used in the result namespace
 help_                  Help message for an argument
 metavar_               Alternate display name for the argument as shown in help
-nargs_                 Number of times the argument can be used                    :class:`int`, ``'?'``, ``'*'``, ``'+'``, or ``argparse.REMAINDER``
+nargs_                 Number of times the argument can be used                    :class:`int`, ``'?'``, ``'*'``, or ``'+'``
 required_              Indicate whether an argument is required or optional        ``True`` or ``False``
 type_                  Automatically convert an argument to the given type         :class:`int`, :class:`float`, ``argparse.FileType('w')``, or callable function
 ====================== =========================================================== ==========================================================================================================================
@@ -2218,7 +2218,7 @@ support this parsing style.
 
 These parsers do not support all the argparse features, and will raise
 exceptions if unsupported features are used.  In particular, subparsers,
-``argparse.REMAINDER``, and mutually exclusive groups that include both
+and mutually exclusive groups that include both
 optionals and positionals are not supported.
 
 The following example shows the difference between