From dbf834440423ce1e52c6175071fcb7538eab75f9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 11 Oct 2014 14:47:11 +0200 Subject: [PATCH] Closes #18959: move optparse and imp to new "superseded modules" chapter --- Doc/library/allos.rst | 1 - Doc/library/index.rst | 1 + Doc/library/modules.rst | 1 - Doc/library/superseded.rst | 14 ++++++++++++++ 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Doc/library/superseded.rst diff --git a/Doc/library/allos.rst b/Doc/library/allos.rst index bf917174479..f7105d8af8e 100644 --- a/Doc/library/allos.rst +++ b/Doc/library/allos.rst @@ -16,7 +16,6 @@ but they are available on most other systems as well. Here's an overview: io.rst time.rst argparse.rst - optparse.rst getopt.rst logging.rst logging.config.rst diff --git a/Doc/library/index.rst b/Doc/library/index.rst index 81289a56c51..277feb194ad 100644 --- a/Doc/library/index.rst +++ b/Doc/library/index.rst @@ -73,4 +73,5 @@ the `Python Package Index `_. misc.rst windows.rst unix.rst + superseded.rst undoc.rst diff --git a/Doc/library/modules.rst b/Doc/library/modules.rst index d89ef106281..6b2a40a1b71 100644 --- a/Doc/library/modules.rst +++ b/Doc/library/modules.rst @@ -12,7 +12,6 @@ The full list of modules described in this chapter is: .. toctree:: - imp.rst zipimport.rst pkgutil.rst modulefinder.rst diff --git a/Doc/library/superseded.rst b/Doc/library/superseded.rst new file mode 100644 index 00000000000..50a5983236e --- /dev/null +++ b/Doc/library/superseded.rst @@ -0,0 +1,14 @@ +.. _superseded: + +****************** +Superseded Modules +****************** + +The modules described in this chapter are deprecated and only kept for +backwards compatibility. They have been superseded by other modules. + + +.. toctree:: + + optparse.rst + imp.rst