]> granicus.if.org Git - python/commitdiff
Issue #13540: Update references to Action class to match syntax used for other classe...
authorJason R. Coombs <jaraco@jaraco.com>
Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)
committerJason R. Coombs <jaraco@jaraco.com>
Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)
Doc/library/argparse.rst

index b76642c497624c216463ee0ac1066c57e060150a..b47d0a5a55ad6d3f270d6f7df6d15f6b0f64126f 100644 (file)
@@ -715,7 +715,7 @@ how the command-line arguments should be handled. The supplied actions are:
 
 You may also specify an arbitrary action by passing an Action subclass or
 other object that implements the same interface.  The recommended way to do
-this is to extend :class:`argparse.Action`, overriding the ``__call__`` method
+this is to extend :class:`Action`, overriding the ``__call__`` method
 and optionally the ``__init__`` method.
 
 An example of a custom action::
@@ -738,7 +738,7 @@ An example of a custom action::
    >>> args
    Namespace(bar='1', foo='2')
 
-For more details, see :class:`argparse.Action`.
+For more details, see :class:`Action`.
 
 nargs
 ^^^^^