diff options
author | Georg Brandl <georg@python.org> | 2010-08-01 06:53:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-01 06:53:28 (GMT) |
commit | 094101232530c4b370ba42fcdf8645ffeea63880 (patch) | |
tree | 9c576df9501c4ec59d75e788b1115f0126050136 /Doc | |
parent | 33b6a31c1817ea4c6220e274c425ca7ced061843 (diff) | |
download | cpython-094101232530c4b370ba42fcdf8645ffeea63880.zip cpython-094101232530c4b370ba42fcdf8645ffeea63880.tar.gz cpython-094101232530c4b370ba42fcdf8645ffeea63880.tar.bz2 |
#8735: better explain semantics of *values* argument for parse().
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/optparse.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 37eab37..37226c3 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 |