]> granicus.if.org Git - python/commitdiff
#6638: fix wrong parameter name and markup a class.
authorGeorg Brandl <georg@python.org>
Tue, 1 Sep 2009 08:06:03 +0000 (08:06 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 1 Sep 2009 08:06:03 +0000 (08:06 +0000)
Doc/library/optparse.rst

index 49371bea5d291494dc0a3950651f856ef0a1b4a3..2fa4388c21047188e7a96766c02f94ed640de1ec 100644 (file)
@@ -1171,19 +1171,20 @@ 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 optparse.Values)
+   object to store option arguments in (default: a new instance of
+   :class:`optparse.Values`)
 
 and the return values are
 
 ``options``
-   the same object that was passed in as ``options``, or the optparse.Values
+   the same object that was passed in as ``values``, or the optparse.Values
    instance created by :mod:`optparse`
 
 ``args``
    the leftover positional arguments after all options have been processed
 
 The most common usage is to supply neither keyword argument.  If you supply
-``options``, it will be modified with repeated ``setattr()`` calls (roughly one
+``values``, it will be modified with repeated ``setattr()`` calls (roughly one
 for every option argument stored to an option destination) and returned by
 :meth:`parse_args`.