summaryrefslogtreecommitdiffstats
path: root/Doc/library/optparse.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-18 22:49:18 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-18 22:49:18 (GMT)
commit19f9b71ffea430bbab6fe993873bb2febd6f7af6 (patch)
tree8611ba4d7df76ddff9b95e40815a24900ba6aad2 /Doc/library/optparse.rst
parentd001ffe7455605219ae47867beb2b8eb643e4493 (diff)
downloadcpython-19f9b71ffea430bbab6fe993873bb2febd6f7af6.zip
cpython-19f9b71ffea430bbab6fe993873bb2febd6f7af6.tar.gz
cpython-19f9b71ffea430bbab6fe993873bb2febd6f7af6.tar.bz2
Add a few missing source links from 2.7 and harmonize lib docs headers
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r--Doc/library/optparse.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index fddc1fb..7d2d91b 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -7,14 +7,14 @@
.. moduleauthor:: Greg Ward <gward@python.net>
.. sectionauthor:: Greg Ward <gward@python.net>
+.. deprecated:: 3.2
+ The :mod:`optparse` module is deprecated and will not be developed further;
+ development will continue with the :mod:`argparse` module.
+
**Source code:** :source:`Lib/optparse.py`
--------------
-.. deprecated:: 2.7
- The :mod:`optparse` module is deprecated and will not be developed further;
- development will continue with the :mod:`argparse` module.
-
:mod:`optparse` is a more convenient, flexible, and powerful library for parsing
command-line options than the old :mod:`getopt` module. :mod:`optparse` uses a
more declarative style of command-line parsing: you create an instance of