[issue6009] optparse docs say 'default' keyword is deprecated but uses it in most examples

R. David Murray report at bugs.python.org
Wed May 13 12:56:44 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

Pesonally I would prefer that the deprication be reversed.  In most of
my optparse use cases it is more convenient than calling set_defaults. 
In fact, I'm not sure I've ever used set_defaults, though I am glad that
it exists since I can certainly envision use cases for it.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6009>
_______________________________________


More information about the Python-bugs-list mailing list