]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-83648: Add missing `deprecated` arg in argparse.rst (GH-115640)
author0xflotus <0xflotus@gmail.com>
Mon, 19 Feb 2024 08:29:32 +0000 (09:29 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 08:29:32 +0000 (10:29 +0200)
Doc/library/argparse.rst

index 952643a46416d21cdd1515e366ecaf9de0b53701..eaddd44e2defd7118fb5ee1b89e51c27c35f05b6 100644 (file)
@@ -745,7 +745,7 @@ The add_argument() method
 
 .. method:: ArgumentParser.add_argument(name or flags..., [action], [nargs], \
                            [const], [default], [type], [choices], [required], \
-                           [help], [metavar], [dest])
+                           [help], [metavar], [dest], [deprecated])
 
    Define how a single command-line argument should be parsed.  Each parameter
    has its own more detailed description below, but in short they are: