Bugs item #1665333, was opened at 2007-02-21 08:40
Message generated for change (Comment added) made by bediviere
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1665333&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: LunarYorn (lunar_yorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Documentation missing for OptionGroup class in optparse 

Initial Comment:
Python seems to lack documentation for the OptionGroup class and related 
methods in the optparse modul.

In detail documentation of the following classes and methods in optparse is 
missing:

- OptionGroup
- OptionParser.add_option_group
- OptionParser.get_option_group

These classes and methods also lack docstrings.

I found this in Python 2.4.4c1 which comes with Ubuntu 6.10 Edgy. It seems, 
that Python 2.5 on Ubuntu Edgy also suffers from this bug.

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

Comment By: Steven Bethard (bediviere)
Date: 2007-02-26 10:37

Message:
Logged In: YES 
user_id=945502
Originator: NO

The docstrings need to be modified in the Optik package (from which the
stdlib optparse module is derived). I've filed you an appropriate patch
there:
http://sourceforge.net/tracker/index.php?func=detail&aid=1669315&group_id=38019&atid=421097.
I'll see what I can do about adding some documentation. My preference is
only to document OptionParser.add_option_group -- I think making the
OptionGroup API public is a mistake (like making the STORE_ACTIONS, etc.
APIs public was).

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1665333&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to