[Python-checkins] cpython (2.7): The \ is not supported in Sphinx 0.6.

ezio.melotti python-checkins at python.org
Thu Apr 21 22:31:12 CEST 2011


http://hg.python.org/cpython/rev/ba32a7f67b6c
changeset:   69524:ba32a7f67b6c
branch:      2.7
parent:      69520:f6ea7abc4eb2
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Thu Apr 21 23:30:27 2011 +0300
summary:
  The \ is not supported in Sphinx 0.6.

files:
  Doc/library/argparse.rst |  8 ++------
  1 files changed, 2 insertions(+), 6 deletions(-)


diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -120,9 +120,7 @@
 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 @@
 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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list