classification
Title: optparse docs should mention %default being new in 2.4
Type: enhancement Stage:
Components: Documentation Versions: Python 2.4, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: brodie, georg.brandl
Priority: normal Keywords:

Created on 2008-03-24 23:29 by brodie, last changed 2008-03-25 08:39 by georg.brandl. This issue is now closed.

Messages (2)
msg64450 - (view) Author: Brodie Rao (brodie) Date: 2008-03-24 23:29
The %default option help string feature doesn't exist in Python 2.3, but 
the documentation for Python 2.4 and 2.5 don't mention that it was added 
in 2.4. It should mention this so people developing for 2.3 and 2.4/2.5 
can be aware of this.

http://docs.python.org/lib/optparse-generating-help.html is the page 
describing the %default feature. I would imagine the bullet point about 
the feature being prefixed with "New in 2.4: ..."
msg64466 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-03-25 08:39
Fixed in r61882.
History
Date User Action Args
2008-03-25 08:39:43georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg64466
2008-03-24 23:29:57brodiecreate