#2673 Fix example typo in optparse docs

This commit is contained in:
Benjamin Peterson 2008-04-23 20:38:06 +00:00
parent 6c6f4f7139
commit c8590944e5
1 changed files with 1 additions and 1 deletions

View File

@ -1638,7 +1638,7 @@ arguments::
[...]
parser.add_option("-c", "--callback",
action="callback", callback=varargs)
action="callback", callback=vararg_callback)
The main weakness with this particular implementation is that negative numbers
in the arguments following ``"-c"`` will be interpreted as further options