From: Ezio Melotti Date: Thu, 27 May 2010 22:38:16 +0000 (+0000) Subject: Merged revisions 81318 via svnmerge from X-Git-Tag: v3.2a1~678 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f82340da9c2d6f2b1abf1651d34ca326ce10a09a;p=python Merged revisions 81318 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81318 | ezio.melotti | 2010-05-19 03:32:52 +0300 (Wed, 19 May 2010) | 1 line Fix typo in argparse doc. ........ --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 19c5c81369..141385f4c5 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -452,7 +452,7 @@ prog By default, :class:`ArgumentParser` objects uses ``sys.argv[0]`` to determine how to display the name of the program in help messages. This default is almost -always desirable because it will make the help messages match how the pgoram was +always desirable because it will make the help messages match how the program was invoked on the command line. For example, consider a file named ``myprogram.py`` with the following code::