[Patches] [ python-Patches-851902 ] bugfix for [Bugs-850964](optparse)

SourceForge.net noreply at sourceforge.net
Mon Dec 1 01:03:36 EST 2003


Patches item #851902, was opened at 2003-12-01 15:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=851902&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: George Yoshida (quiver)
Assigned to: Nobody/Anonymous (nobody)
Summary: bugfix for [Bugs-850964](optparse)

Initial Comment:
This is a bug fix for [Bugs-850964].
subject : optparse: OptionParser.__init__'s "prog"
http://www.python.org/sf/850964

I've changed get_usage, get_version, and error 
methods to use the instance variable, "prog", 
instead of calling get_prog_name() function directly.

This will display "prog" name if it was provided to 
OptionParser's constructor.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=851902&group_id=5470



More information about the Patches mailing list