Re: Error in optparse documentation

2007-05-28 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Shatadal wrote: I think the documentation should be modified so that it is made clear that %default in the help string behaves as is claimed only in version 2.4 and higher. Maybe something should be added for clarity but I don't think it's an error in the docs. You are

Re: Error in optparse documentation

2007-05-28 Thread Shatadal
On May 28, 2:19 am, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], Shatadal wrote: I think the documentation should be modified so that it is made clear that %default in the help string behaves as is claimed only in version 2.4 and higher. Maybe something should

Error in optparse documentation

2007-05-27 Thread Shatadal
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

Re: Error in optparse documentation

2007-05-27 Thread Steven Bethard
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

Re: Error in optparse documentation

2007-05-27 Thread John Machin
On May 28, 7:54 am, Shatadal [EMAIL PROTECTED] 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