[issue6253] optparse.OptionParser.get_usage uses wrong formatter
Jan Pobrislo
report at bugs.python.org
Wed Jun 10 17:07:36 CEST 2009
Jan Pobrislo <ccx at volny.cz> added the comment:
On second thought method name starting with get_ doesn't signify any
formatting, so it might be better to either:
1) Move call to formatter.format_usage from get_usage directly to
format_help.
2) Create method format_usage in OptionParser and call it from there.
----------
Added file: http://bugs.python.org/file14256/fix_optparse_usage_formatter2.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6253>
_______________________________________
More information about the Python-bugs-list
mailing list