summaryrefslogtreecommitdiffstats
path: root/Doc/library/optparse.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-16 11:18:55 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-16 11:18:55 (GMT)
commit14315d6513497a5f51c98a33e99fae036b84ef69 (patch)
tree29ffd25738d12b2115c877790be66c6499a838a3 /Doc/library/optparse.rst
parent29d3a04618bea5afb216167a49247fe919dd0b00 (diff)
downloadcpython-14315d6513497a5f51c98a33e99fae036b84ef69.zip
cpython-14315d6513497a5f51c98a33e99fae036b84ef69.tar.gz
cpython-14315d6513497a5f51c98a33e99fae036b84ef69.tar.bz2
#6009: undocument default argument of Option as deprecated.
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r--Doc/library/optparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index 4ef2ba7..a07a751 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -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)