summaryrefslogtreecommitdiffstats
path: root/Lib/optparse.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2009-07-02 15:37:21 (GMT)
committerJesus Cea <jcea@jcea.es>2009-07-02 15:37:21 (GMT)
commit585ad8ae5e352c99bbd87955c64cc9a0654da8c3 (patch)
tree98c559aa59ba10d42e6383626b33433343e6b4fc /Lib/optparse.py
parentb73effab2828b244d2b91d466f7a89df94a6c036 (diff)
downloadcpython-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.zip
cpython-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.tar.gz
cpython-585ad8ae5e352c99bbd87955c64cc9a0654da8c3.tar.bz2
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (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 53bdef0..d0d5961 100644
--- a/Lib/optparse.py
+++ b/Lib/optparse.py
@@ -1588,7 +1588,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.
@@ -1606,7 +1606,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.
"""