Skip to content

Commit 4e50c74

Browse files
committed
Move getopt back to the superseded section
1 parent 50d1ee4 commit 4e50c74

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

Doc/library/cmdlinelibs.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Here's an overview:
1414

1515
argparse.rst
1616
optparse.rst
17-
getopt.rst
1817
getpass.rst
1918
fileinput.rst
2019
curses.rst

Doc/library/superseded.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@
44
Superseded Modules
55
******************
66

7-
The modules described in this chapter are deprecated or :term:`soft deprecated` and only kept for
8-
backwards compatibility. They have been superseded by other modules.
7+
The modules described in this chapter have been superseded by other modules
8+
for most use cases, and are retained primarily to preserve backwards compatibility.
99

10-
With the removal of various obsolete modules through :pep:`594`, there are currently no modules
11-
in this category.
10+
Modules may appear in this chapter because they only cover a limited subset of
11+
a problem space, and a more generally applicable solution is available elsewhere
12+
in the standard library (for example, :mod:`getopt`).
13+
14+
Alternatively, modules may appear in this chapter because they are deprecated
15+
outright, and awaiting removal in a future release, or they are
16+
:term:`soft deprecated` and their use is actively discouraged in new projects.
17+
With the removal of various obsolete modules through :pep:`594`, there are
18+
currently no modules in this latter category.
19+
20+
.. toctree::
21+
:maxdepth: 1
22+
23+
getopt.rst

0 commit comments

Comments
 (0)