]> granicus.if.org Git - python/commitdiff
#8735: better explain semantics of *values* argument for parse().
authorGeorg Brandl <georg@python.org>
Sun, 1 Aug 2010 06:53:28 +0000 (06:53 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 1 Aug 2010 06:53:28 +0000 (06:53 +0000)
Doc/library/optparse.rst

index 37eab3768e1df947b3f856ab3ad2de10f781474b..37226c3846589e22a571286444d1ccc046c48f64 100644 (file)
@@ -1234,8 +1234,9 @@ where the input parameters are
    the list of arguments to process (default: ``sys.argv[1:]``)
 
 ``values``
-   object to store option arguments in (default: a new instance of
-   :class:`optparse.Values`)
+   a :class:`optparse.Values` object to store option arguments in (default: a
+   new instance of :class:`Values`) -- if you give an existing object, the
+   option defaults will not be initialized on it
 
 and the return values are