summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-01-06 16:29:04 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-01-06 16:29:04 (GMT)
commit80154584a60458cbe88c09f45c5b2cd95014366f (patch)
treebd064f21f5c4e97fce6cbc7a05f621852a786ef2 /Doc
parent7c90667f74161c790227a2cb473c4e0c794ad884 (diff)
downloadcpython-80154584a60458cbe88c09f45c5b2cd95014366f.zip
cpython-80154584a60458cbe88c09f45c5b2cd95014366f.tar.gz
cpython-80154584a60458cbe88c09f45c5b2cd95014366f.tar.bz2
Fix a markup error in the argparse documentation.
Reported by Jason Sachs on docs@.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/argparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 25005ee..cda563d 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -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