Commit 74142078 authored by Batuhan Taşkaya's avatar Batuhan Taşkaya Committed by Raymond Hettinger

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

parent c93883c6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment