[Python-checkins] bpo-38531: document extend action's added version (GH-16865)

Raymond Hettinger webhook-mailer at python.org
Sun Oct 20 16:14:04 EDT 2019


https://github.com/python/cpython/commit/74142078b3b78fea7b4cd791e5c577c0c0964eb7
commit: 74142078b3b78fea7b4cd791e5c577c0c0964eb7
branch: master
author: Batuhan Taşkaya <47358913+isidentical at users.noreply.github.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2019-10-20T13:13:54-07:00
summary:

bpo-38531: document extend action's added version (GH-16865)

files:
M Doc/library/argparse.rst

diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 00115d5cd1e9b..818acf484cdf3 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -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



More information about the Python-checkins mailing list