Shatadal wrote:
> In the python documentation section 14.3.2.6 (http://docs.python.org/
> lib/optparse-generating-help.html) in the last line it is written
> 
> "options that have a default value can include %default in the help
> string--optparse will replace it with str() of the option's default
> value. If an option has no default value (or the default value is
> None), %default expands to none."
> 
> However this is true only for python 2.4 and newer and not for older
> versions.

The optparse module is externally maintained. You should file a 
documentation bug at http://optik.sourceforge.net/

STeVe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to