]> granicus.if.org Git - python/commitdiff
bpo-38531: document extend action's added version (GH-16865)
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
Sun, 20 Oct 2019 20:13:54 +0000 (23:13 +0300)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 20 Oct 2019 20:13:54 +0000 (13:13 -0700)
Doc/library/argparse.rst

index 00115d5cd1e9bd72795d2992399f21418cbaa114..818acf484cdf3908b5215205d3dc2b86de378c1b 100644 (file)
@@ -838,6 +838,8 @@ how the command-line arguments should be handled. The supplied actions are:
     >>> parser.parse_args(["--foo", "f1", "--foo", "f2", "f3", "f4"])
     Namespace(foo=['f1', 'f2', 'f3', 'f4'])
 
+  .. versionadded:: 3.8
+
 You may also specify an arbitrary action by passing an Action subclass or
 other object that implements the same interface. The ``BooleanOptionalAction``
 is available in ``argparse`` and adds support for boolean actions such as