]> granicus.if.org Git - python/commitdiff
Fix a markup error in the argparse documentation.
authorBerker Peksag <berker.peksag@gmail.com>
Tue, 6 Jan 2015 16:29:04 +0000 (18:29 +0200)
committerBerker Peksag <berker.peksag@gmail.com>
Tue, 6 Jan 2015 16:29:04 +0000 (18:29 +0200)
Reported by Jason Sachs on docs@.

Doc/library/argparse.rst

index 25005ee1633b30479a718943e885dddd1ca470c7..cda563d4a82d1c2dc31b3ff1fac33d04f0f6ae65 100644 (file)
@@ -1216,8 +1216,8 @@ Action classes implement the Action API, a callable which returns a callable
 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