diff options
author | Greg Ward <gward@python.net> | 2000-04-23 02:50:45 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-04-23 02:50:45 (GMT) |
commit | 66bf4462730b95dd23cfecb7ac8ecfa01a467d46 (patch) | |
tree | d659a991d8de356a6ea3788f1de4a5db9276f770 /Lib/distutils/fancy_getopt.py | |
parent | 01ae9eb2ec67df9ac8dc5a171d5127e9f6413519 (diff) | |
download | cpython-66bf4462730b95dd23cfecb7ac8ecfa01a467d46.zip cpython-66bf4462730b95dd23cfecb7ac8ecfa01a467d46.tar.gz cpython-66bf4462730b95dd23cfecb7ac8ecfa01a467d46.tar.bz2 |
Patch from Harry Henry Gebel: fix two stupid bugs in help-printing stuff.
Diffstat (limited to 'Lib/distutils/fancy_getopt.py')
-rw-r--r-- | Lib/distutils/fancy_getopt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 629da29..39450e8 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -304,7 +304,7 @@ class FancyGetopt: return self.option_order - def generate_help (header=None): + def generate_help (self, header=None): """Generate help text (a list of strings, one per suggested line of output) from the option table for this FancyGetopt object.""" @@ -388,7 +388,7 @@ class FancyGetopt: # generate_help () - def print_help (self, file=None, header=None): + def print_help (self, header=None, file=None): if file is None: file = sys.stdout for line in self.generate_help (header): |