diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-27 20:38:46 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-27 20:38:46 (GMT) |
commit | 469271d4ea02322f526414c0ed51556410b0d3e6 (patch) | |
tree | 26b8af47b4427cc9f042947aaa241ce69a998545 /Doc/library/optparse.rst | |
parent | 1a90f9c52fbf3ec0318c4c9defafe8403f6146b9 (diff) | |
download | cpython-469271d4ea02322f526414c0ed51556410b0d3e6.zip cpython-469271d4ea02322f526414c0ed51556410b0d3e6.tar.gz cpython-469271d4ea02322f526414c0ed51556410b0d3e6.tar.bz2 |
More source links
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r-- | Doc/library/optparse.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 2a7d513..58fb7cd 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -4,14 +4,16 @@ .. module:: optparse :synopsis: Command-line option parsing library. :deprecated: - -.. deprecated:: 2.7 - The :mod:`optparse` module is deprecated and will not be developed further; - development will continue with the :mod:`argparse` module. - .. moduleauthor:: Greg Ward <gward@python.net> .. sectionauthor:: Greg Ward <gward@python.net> +**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 |