Message87668
The first example, and several subsequent examples later on in the
optparse docs, use 'default' as an argument, even though it's apparently
deprecated in favor of set_defaults. At the risk of overstating the
obvious, this seems to be inconsistent. Even the section on defaults
http://docs.python.org/library/optparse.html#default-values uses the
'default' keyword without stressing its deprecation. It might make more
sense to leave it out of all of the examples altogether, replacing it
with the appropriate set_defaults invocations. |
|
Date |
User |
Action |
Args |
2009-05-13 05:02:13 | mallyvai | set | recipients:
+ mallyvai, georg.brandl |
2009-05-13 05:02:06 | mallyvai | set | messageid: <1242190926.0.0.968913791867.issue6009@psf.upfronthosting.co.za> |
2009-05-13 05:01:56 | mallyvai | link | issue6009 messages |
2009-05-13 05:01:48 | mallyvai | create | |
|