mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.13] gh-126180: Remove getopt and optparse deprecation notices (GH-128191)
* 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>
This commit is contained in:
parent
09d15aa9a8
commit
6f3c2c8d04
12 changed files with 266 additions and 65 deletions
21
Doc/library/cmdlinelibs.rst
Normal file
21
Doc/library/cmdlinelibs.rst
Normal file
|
@ -0,0 +1,21 @@
|
|||
.. _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
|
Loading…
Add table
Add a link
Reference in a new issue