[Python-checkins] r62469 - python/trunk/Doc/library/optparse.rst

benjamin.peterson python-checkins at python.org
Wed Apr 23 22:38:06 CEST 2008


Author: benjamin.peterson
Date: Wed Apr 23 22:38:06 2008
New Revision: 62469
Log:
Fix example typo in optparse docs
Modified:
 python/trunk/Doc/library/optparse.rst
Modified: python/trunk/Doc/library/optparse.rst
==============================================================================
--- python/trunk/Doc/library/optparse.rst	(original)
+++ python/trunk/Doc/library/optparse.rst	Wed Apr 23 22:38:06 2008
@@ -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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /