#3040: include 'dest' argument in example; trim some trailing whitespace

This commit is contained in:
Andrew M. Kuchling 2008-09-06 13:04:02 +00:00
parent 48a937ab41
commit 810f807b1b
1 changed files with 3 additions and 3 deletions

View File

@ -1637,7 +1637,7 @@ arguments::
setattr(parser.values, option.dest, value) setattr(parser.values, option.dest, value)
[...] [...]
parser.add_option("-c", "--callback", parser.add_option("-c", "--callback", dest="vararg_attr",
action="callback", callback=vararg_callback) action="callback", callback=vararg_callback)
The main weakness with this particular implementation is that negative numbers The main weakness with this particular implementation is that negative numbers