Skip to content

Commit 37e88c2

Browse files
deprecated rectification
1 parent a3ae75b commit 37e88c2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/argparse.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,9 +1899,6 @@ Subcommands
18991899
.. method:: _SubParsersAction.add_parser(name, *, help=None, aliases=None,
19001900
deprecated=False, **kwargs)
19011901
1902-
.. versionadded:: 3.13
1903-
Added the *deprecated* parameter.
1904-
19051902
Creates and returns a new :class:`!ArgumentParser` object for the
19061903
subcommand *name*.
19071904

@@ -1935,10 +1932,12 @@ Subcommands
19351932
chicken.py: warning: command 'fly' is deprecated
19361933
Namespace()
19371934

1938-
19391935
All other keyword arguments are passed directly to the
19401936
:class:`!ArgumentParser` constructor.
19411937

1938+
.. versionadded:: 3.13
1939+
Added the *deprecated* parameter.
1940+
19421941

19431942
FileType objects
19441943
^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)