summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorSteven Bethard <steven.bethard@gmail.com>2010-05-24 03:47:38 (GMT)
committerSteven Bethard <steven.bethard@gmail.com>2010-05-24 03:47:38 (GMT)
commit50fe593ae97230d1d058844908a04e6b03855f7f (patch)
tree70b828ca0af9da47e922446218eaa866ca00771a /Lib/argparse.py
parent5971096472441fffb05aa71900baafe1ecf599ea (diff)
downloadcpython-50fe593ae97230d1d058844908a04e6b03855f7f.zip
cpython-50fe593ae97230d1d058844908a04e6b03855f7f.tar.gz
cpython-50fe593ae97230d1d058844908a04e6b03855f7f.tar.bz2
Merged revisions 81492 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81492 | steven.bethard | 2010-05-23 20:45:26 -0700 (Sun, 23 May 2010) | 1 line Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html ........
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r--Lib/argparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py
index 9da59e3..c12a16d 100644
--- a/Lib/argparse.py
+++ b/Lib/argparse.py
@@ -987,7 +987,7 @@ class _VersionAction(Action):
version=None,
dest=SUPPRESS,
default=SUPPRESS,
- help=None):
+ help="show program's version number and exit"):
super(_VersionAction, self).__init__(
option_strings=option_strings,
dest=dest,