mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00

* Remove getopt and optparse deprecation notices
* Add new docs sections for command line app helper libraries
* Add guidance on choosing a CLI parsing library to the optparse docs
* Link to the new guidance from the argparse and getopt docs
* Reword intro in docs section for superseded stdlib modules
* Reframe the optparse->argparse guide as a migration guide
rather than as an upgrade guide
---------
(cherry picked from commit 831b6de6d7
)
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 lines
406 B
ReStructuredText
21 lines
406 B
ReStructuredText
.. _cmdlinelibs:
|
|
|
|
********************************
|
|
Command Line Interface Libraries
|
|
********************************
|
|
|
|
The modules described in this chapter assist with implementing
|
|
command line and terminal interfaces for applications.
|
|
|
|
Here's an overview:
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
argparse.rst
|
|
optparse.rst
|
|
getpass.rst
|
|
fileinput.rst
|
|
curses.rst
|
|
curses.ascii.rst
|
|
curses.panel.rst
|