summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-04-21 20:30:27 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-04-21 20:30:27 (GMT)
commit569083adbf69098d93316765393e683fb0474886 (patch)
tree2817d32a57edcb14c465f4cc6aeef6368284a02e /Doc/library
parentd281f1439d9e0af4ac10deb0be3cbdaf0f1485a2 (diff)
downloadcpython-569083adbf69098d93316765393e683fb0474886.zip
cpython-569083adbf69098d93316765393e683fb0474886.tar.gz
cpython-569083adbf69098d93316765393e683fb0474886.tar.bz2
The \ is not supported in Sphinx 0.6.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/argparse.rst8
1 files changed, 2 insertions, 6 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index e151c97..b37b43f 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -120,9 +120,7 @@ command-line args from :data:`sys.argv`.
ArgumentParser objects
----------------------
-.. class:: ArgumentParser([description], [epilog], [prog], [usage], [add_help], \
- [argument_default], [parents], [prefix_chars], \
- [conflict_handler], [formatter_class])
+.. class:: ArgumentParser([description], [epilog], [prog], [usage], [add_help], [argument_default], [parents], [prefix_chars], [conflict_handler], [formatter_class])
Create a new :class:`ArgumentParser` object. Each parameter has its own more
detailed description below, but in short they are:
@@ -570,9 +568,7 @@ your usage messages.
The add_argument() method
-------------------------
-.. method:: ArgumentParser.add_argument(name or flags..., [action], [nargs], \
- [const], [default], [type], [choices], [required], \
- [help], [metavar], [dest])
+.. method:: ArgumentParser.add_argument(name or flags..., [action], [nargs], [const], [default], [type], [choices], [required], [help], [metavar], [dest])
Define how a single command-line argument should be parsed. Each parameter
has its own more detailed description below, but in short they are: