[Python-checkins] r83387 - python/branches/py3k/Doc/library/optparse.rst
georg.brandl
python-checkins at python.org
Sun Aug 1 08:53:28 CEST 2010
Author: georg.brandl
Date: Sun Aug 1 08:53:28 2010
New Revision: 83387
Log:
#8735: better explain semantics of *values* argument for parse().
Modified:
python/branches/py3k/Doc/library/optparse.rst
Modified: python/branches/py3k/Doc/library/optparse.rst
==============================================================================
--- python/branches/py3k/Doc/library/optparse.rst (original)
+++ python/branches/py3k/Doc/library/optparse.rst Sun Aug 1 08:53:28 2010
@@ -1234,8 +1234,9 @@
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
More information about the Python-checkins
mailing list