summaryrefslogtreecommitdiff
path: root/Lib/optparse.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-21 20:59:32 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-02-21 20:59:32 +0000
commit934896dc0977ea25dc37c13117525f2394625cee (patch)
treef4671cebdd730ba732dcae5185548dd35b9ffa72 /Lib/optparse.py
parent91cf882b367644ece7f121cd22fc43c2f439a2d5 (diff)
downloadcpython-git-934896dc0977ea25dc37c13117525f2394625cee.tar.gz
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
Diffstat (limited to 'Lib/optparse.py')
-rw-r--r--Lib/optparse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/optparse.py b/Lib/optparse.py
index 2511595d6a..7b1734c73b 100644
--- a/Lib/optparse.py
+++ b/Lib/optparse.py
@@ -1563,7 +1563,7 @@ class OptionParser (OptionContainer):
"""print_usage(file : file = stdout)
Print the usage message for the current program (self.usage) to
- 'file' (default stdout). Any occurence of the string "%prog" in
+ 'file' (default stdout). Any occurrence of the string "%prog" in
self.usage is replaced with the name of the current program
(basename of sys.argv[0]). Does nothing if self.usage is empty
or not defined.
@@ -1581,7 +1581,7 @@ class OptionParser (OptionContainer):
"""print_version(file : file = stdout)
Print the version message for this program (self.version) to
- 'file' (default stdout). As with print_usage(), any occurence
+ 'file' (default stdout). As with print_usage(), any occurrence
of "%prog" in self.version is replaced by the current program's
name. Does nothing if self.version is empty or undefined.
"""