8000 Issue #13540: Update references to Action class to match syntax used … · python/cpython@79690ac · GitHub
[go: up one dir, main page]

Skip to content

Commit 79690ac

Browse files
committed
Issue #13540: Update references to Action class to match syntax used for other classes in this file.
1 parent eb0ef41 commit 79690ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/argparse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ how the command-line arguments should be handled. The supplied actions are:
739739

740740
You may also specify an arbitrary action by passing an Action subclass or
741741
other object that implements the same interface. The recommended way to do
742-
this is to extend :class:`argparse.Action`, overriding the ``__call__`` method
742+
this is to extend :class:`Action`, overriding the ``__call__`` method
743743
and optionally the ``__init__`` method.
744744

745745
An example of a custom action::
@@ -762,7 +762,7 @@ An example of a custom action::
762762
>>> args
763763
Namespace(bar='1', foo='2')
764764

765-
For more details, see :class:`argparse.Action`.
765+
For more details, see :class:`Action`.
766766

767767
nargs
768768
^^^^^

0 commit comments

Comments
 (0)
0