Mercurial > cpython-lru_cache-weakref
diff Lib/argparse.py @ 61879:e64ea1619820 legacy-trunk
Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html
| author | Steven Bethard <steven.bethard@gmail.com> |
|---|---|
| date | Mon, 24 May 2010 03:45:26 +0000 |
| parents | 4ceb5dc35cc6 |
| children | 23c089dc5cff |
line wrap: on
line diff
--- a/Lib/argparse.py Mon May 24 02:38:00 2010 +0000 +++ b/Lib/argparse.py Mon May 24 03:45:26 2010 +0000 @@ -987,7 +987,7 @@ 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,
