Message93033
the following
>>> getopt.getopt('--testing=dr'.split(), '', ['testing'])[0]
would raise 'option --testing must not have an argument'.
Documentation reads, however: "Long options which require an argument
should be followed by an equal sign ('=')." Which is equivalent to
"options that don't require an argument, should not be followed by the
equal sign". The fact that in my example argument is not required does
not mean that argument cannot be passed. |
|
Date |
User |
Action |
Args |
2009-09-23 12:08:13 | SilentGhost | set | recipients:
+ SilentGhost, georg.brandl |
2009-09-23 12:08:13 | SilentGhost | set | messageid: <1253707693.16.0.204754165605.issue6977@psf.upfronthosting.co.za> |
2009-09-23 12:08:11 | SilentGhost | link | issue6977 messages |
2009-09-23 12:08:11 | SilentGhost | create | |
|