]> granicus.if.org Git - python/commitdiff
Closes #18959: move optparse and imp to new "superseded modules" chapter
authorGeorg Brandl <georg@python.org>
Sat, 11 Oct 2014 12:47:11 +0000 (14:47 +0200)
committerGeorg Brandl <georg@python.org>
Sat, 11 Oct 2014 12:47:11 +0000 (14:47 +0200)
Doc/library/allos.rst
Doc/library/index.rst
Doc/library/modules.rst
Doc/library/superseded.rst [new file with mode: 0644]

index bf9171744791365e6314cc91c2d8084f4246bab9..f7105d8af8e28b3d83588c09159fdb901a825f29 100644 (file)
@@ -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
index 81289a56c518954d21ae2f0e264a9fa9de29a256..277feb194ad6a3781baf980aa7411200306b1ba6 100644 (file)
@@ -73,4 +73,5 @@ the `Python Package Index <http://pypi.python.org/pypi>`_.
    misc.rst
    windows.rst
    unix.rst
+   superseded.rst
    undoc.rst
index d89ef1062812c5b5b721925189a86410e591244d..6b2a40a1b71476073947a8d31cfd20422c9fdc90 100644 (file)
@@ -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 (file)
index 0000000..50a5983
--- /dev/null
@@ -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