diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 +0000 |
commit | 3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch) | |
tree | 05385e9530059fe3608194b2e8d6f9e57d797220 /Lib/optparse.py | |
parent | a12a86e956f949bd145cef247a95ed742386c70b (diff) | |
download | cpython-git-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz |
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Lib/optparse.py')
-rw-r--r-- | Lib/optparse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/optparse.py b/Lib/optparse.py index 16a0f19845..1107d9e317 100644 --- a/Lib/optparse.py +++ b/Lib/optparse.py @@ -1574,7 +1574,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. @@ -1592,7 +1592,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. """ |