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-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 on