mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +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 --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 lines
406 B
ReStructuredText
6 lines
406 B
ReStructuredText
:mod:`getopt` and :mod:`optparse` are no longer marked as deprecated.
|
|
There are legitimate reasons to use one of these modules in preference to
|
|
:mod:`argparse`, and none of these modules are at risk of being removed
|
|
from the standard library. Of the three, ``argparse`` remains the
|
|
recommended default choice, *unless* one of the concerns noted at the top of
|
|
the ``optparse`` module documentation applies.
|