[Python-checkins] cpython (2.7): Fix a markup error in the argparse documentation.

berker.peksag python-checkins at python.org
Tue Jan 6 17:27:16 CET 2015


https://hg.python.org/cpython/rev/35b5ff543d4b
changeset:   94055:35b5ff543d4b
branch:      2.7
parent:      94049:eddcb6671a48
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Tue Jan 06 18:29:04 2015 +0200
summary:
  Fix a markup error in the argparse documentation.

Reported by Jason Sachs on docs at .

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


diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1216,8 +1216,8 @@
 which processes arguments from the command-line. Any object which follows this
 API may be passed as the ``action`` parameter to :meth:`add_argument`.
 
-.. class:: Action(option_strings, dest, nargs=None, const=None, default=None,
-                  type=None, choices=None, required=False, help=None,
+.. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \
+                  type=None, choices=None, required=False, help=None, \
                   metavar=None)
 
 Action objects are used by an ArgumentParser to represent the information needed

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


More information about the Python-checkins mailing list