Kaydet (Commit) 8514b85e authored tarafından Georg Brandl's avatar Georg Brandl

#6638: fix wrong parameter name and markup a class.

üst 86158fc4
...@@ -1171,19 +1171,20 @@ where the input parameters are ...@@ -1171,19 +1171,20 @@ where the input parameters are
the list of arguments to process (default: ``sys.argv[1:]``) the list of arguments to process (default: ``sys.argv[1:]``)
``values`` ``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 and the return values are
``options`` ``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` instance created by :mod:`optparse`
``args`` ``args``
the leftover positional arguments after all options have been processed the leftover positional arguments after all options have been processed
The most common usage is to supply neither keyword argument. If you supply 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 for every option argument stored to an option destination) and returned by
:meth:`parse_args`. :meth:`parse_args`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment