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

georg.brandl python-checkins at python.org
Thu Feb 5 11:30:57 CET 2009


Author: georg.brandl
Date: Thu Feb  5 11:30:57 2009
New Revision: 69288

Log:
#5153: fix typo in example.

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	Thu Feb  5 11:30:57 2009
@@ -1651,7 +1651,7 @@
             value.append(arg)
 
         del parser.rargs[:len(value)]
-        setattr(parser.values, option.dest, value))
+        setattr(parser.values, option.dest, value)
 
    [...]
    parser.add_option("-c", "--callback", dest="vararg_attr",


More information about the Python-checkins mailing list