#6009: undocument default argument of Option as deprecated.

This commit is contained in:
Georg Brandl 2009-05-16 11:18:55 +00:00
parent 29d3a04618
commit 14315d6513
1 changed files with 2 additions and 2 deletions

View File

@ -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
``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
command line. Deprecated; use ``parser.set_defaults()`` instead.
command line. See also ``parser.set_defaults()``.
* ``nargs`` (default: 1)