From: Georg Brandl Date: Sun, 1 Aug 2010 06:53:28 +0000 (+0000) Subject: #8735: better explain semantics of *values* argument for parse(). X-Git-Tag: v3.2a2~580 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=094101232530c4b370ba42fcdf8645ffeea63880;p=python #8735: better explain semantics of *values* argument for parse(). --- diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 37eab3768e..37226c3846 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -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