[Python-checkins] cpython (3.4): Closes #18959: move optparse and imp to new "superseded modules" chapter

georg.brandl python-checkins at python.org
Sat Oct 11 15:08:28 CEST 2014


https://hg.python.org/cpython/rev/7276bc0b0318
changeset: 92953:7276bc0b0318
branch: 3.4
user: Georg Brandl <georg at python.org>
date: Sat Oct 11 14:47:11 2014 +0200
summary:
 Closes #18959: move optparse and imp to new "superseded modules" chapter
files:
 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(-)
diff --git a/Doc/library/allos.rst b/Doc/library/allos.rst
--- a/Doc/library/allos.rst
+++ b/Doc/library/allos.rst
@@ -16,7 +16,6 @@
 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
--- a/Doc/library/index.rst
+++ b/Doc/library/index.rst
@@ -73,4 +73,5 @@
 misc.rst
 windows.rst
 unix.rst
+ superseded.rst
 undoc.rst
diff --git a/Doc/library/modules.rst b/Doc/library/modules.rst
--- a/Doc/library/modules.rst
+++ b/Doc/library/modules.rst
@@ -12,7 +12,6 @@
 
 .. 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
--- /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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /