]> granicus.if.org Git - python/commitdiff
fix Sphinx warnings
authorBenjamin Peterson <benjamin@python.org>
Wed, 3 Mar 2010 02:04:24 +0000 (02:04 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 3 Mar 2010 02:04:24 +0000 (02:04 +0000)
Doc/library/argparse.rst

index 66d238a18e16a6bbfaf3ac9821dce44e2a629f47..f3962e0ee1362b5ce17be8b4709d3f3cbf8da52c 100644 (file)
@@ -363,7 +363,7 @@ epilog_ texts in command-line help messages::
    will be wrapped across a couple lines
 
 Passing :class:`argparse.RawDescriptionHelpFormatter` as ``formatter_class=``
-indicates that description_ and eiplog_ are already correctly formatted and
+indicates that description_ and epilog_ are already correctly formatted and
 should not be line-wrapped::
 
    >>> parser = argparse.ArgumentParser(
@@ -1581,8 +1581,9 @@ Parser defaults
 
    Most of the time, the attributes of the object returned by :meth:`parse_args`
    will be fully determined by inspecting the command-line args and the argument
-   actions.  :method:`set_defaults` allows some additional attributes that are
-   determined without any inspection of the command-line to be added::
+   actions.  :meth:`ArgumentParser.set_defaults` allows some additional
+   attributes that are determined without any inspection of the command-line to
+   be added::
 
      >>> parser = argparse.ArgumentParser()
      >>> parser.add_argument('foo', type=int)