Kaydet (Commit) 14315d65 authored tarafından Georg Brandl's avatar Georg Brandl

#6009: undocument default argument of Option as deprecated.

üst 29d3a046
...@@ -1077,10 +1077,10 @@ to a particular option, or fail to pass a required option attribute, ...@@ -1077,10 +1077,10 @@ to a particular option, or fail to pass a required option attribute,
tells :mod:`optparse` where to write it: :attr:`dest` names an attribute of the tells :mod:`optparse` where to write it: :attr:`dest` names an attribute of the
``options`` object that :mod:`optparse` builds as it parses the command line. ``options`` object that :mod:`optparse` builds as it parses the command line.
* ``default`` (deprecated) * ``default``
The value to use for this option's destination if the option is not seen on the The value to use for this option's destination if the option is not seen on the
command line. Deprecated; use ``parser.set_defaults()`` instead. command line. See also ``parser.set_defaults()``.
* ``nargs`` (default: 1) * ``nargs`` (default: 1)
......
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