From 094101232530c4b370ba42fcdf8645ffeea63880 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 1 Aug 2010 06:53:28 +0000 Subject: [PATCH] #8735: better explain semantics of *values* argument for parse(). --- Doc/library/optparse.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.49.0