Commit c8590944 authored by Benjamin Peterson's avatar Benjamin Peterson

#2673 Fix example typo in optparse docs

parent 6c6f4f71
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment