diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-03-03 02:04:24 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-03-03 02:04:24 (GMT) |
commit | c516d199ec6fd95bf5574a437982415da378c49f (patch) | |
tree | 2967e6482e6d63c18da0e394cc5e3477180699da | |
parent | 90c5802e6b3b1d97bb6a532c905326b14050ff69 (diff) | |
download | cpython-c516d199ec6fd95bf5574a437982415da378c49f.zip cpython-c516d199ec6fd95bf5574a437982415da378c49f.tar.gz cpython-c516d199ec6fd95bf5574a437982415da378c49f.tar.bz2 |
fix Sphinx warnings
-rw-r--r-- | Doc/library/argparse.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 66d238a..f3962e0 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -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) |