#2673 Fix example typo in optparse docs
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index d72e387..7987ceb 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -1638,7 +1638,7 @@
[...]
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