]> granicus.if.org Git - python/commitdiff
Add renaming notices to 2.6 dbm module docs.
authorGeorg Brandl <georg@python.org>
Mon, 26 May 2008 10:22:15 +0000 (10:22 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 26 May 2008 10:22:15 +0000 (10:22 +0000)
Doc/library/anydbm.rst
Doc/library/dbhash.rst
Doc/library/dbm.rst
Doc/library/dumbdbm.rst
Doc/library/gdbm.rst
Doc/library/whichdb.rst

index 413b7de9a7ca1fc2f8f43454225fbc5f429680ea..36f0a7e6be6612fde01a7776d2fdf40329c6947b 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`anydbm` --- Generic access to DBM-style databases
 =======================================================
 
@@ -6,6 +5,11 @@
    :synopsis: Generic interface to DBM-style database modules.
 
 
+.. note::
+   The :mod:`anydbm` module has been renamed to :mod:`dbm` in Python 3.0.  The
+   :term:`2to3` tool will automatically adapt imports when converting your
+   sources to 3.0.
+
 .. index::
    module: dbhash
    module: bsddb
index 5d2b95ea5ba33bd051b4d4fe68d7a8d3524cab44..bedfad4267212ae3b7d7a84e54ea7d4bcac8c9a8 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`dbhash` --- DBM-style interface to the BSD database library
 =================================================================
 
@@ -6,6 +5,10 @@
    :synopsis: DBM-style interface to the BSD database library.
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+.. note::
+   The :mod:`dbhash` module has been renamed to :mod:`dbm.bsd` in Python 3.0.
+   The :term:`2to3` tool will automatically adapt imports when converting your
+   sources to 3.0.
 
 .. index:: module: bsddb
 
index 52923e826de1927b4144203b6fb90c7b3989b765..874778956feffa90ea8994a9ea3fbd1ec938f81a 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`dbm` --- Simple "database" interface
 ==========================================
 
@@ -6,6 +5,11 @@
    :platform: Unix
    :synopsis: The standard "database" interface, based on ndbm.
 
+.. note::
+   The :mod:`dbm` module has been renamed to :mod:`dbm.ndbm` in Python 3.0.  The
+   :term:`2to3` tool will automatically adapt imports when converting your
+   sources to 3.0.
+
 
 The :mod:`dbm` module provides an interface to the Unix "(n)dbm" library.  Dbm
 objects behave like mappings (dictionaries), except that keys and values are
index 3db9fda7ce70877ad57ae6eb006f019606de7c69..a511855dd0d5fa571d946cb7184cc4f3d46fb572 100644 (file)
@@ -1,10 +1,13 @@
-
 :mod:`dumbdbm` --- Portable DBM implementation
 ==============================================
 
 .. module:: dumbdbm
    :synopsis: Portable implementation of the simple DBM interface.
 
+.. note::
+   The :mod:`dumbdbm` module has been renamed to :mod:`dbm.dumb` in Python 3.0.
+   The :term:`2to3` tool will automatically adapt imports when converting your
+   sources to 3.0.
 
 .. index:: single: databases
 
index ce27f6c64590052ef1c41d66030dbe05039554e7..aec23e6f23f2fae44a0a0e27f5e2af61deb7abd9 100644 (file)
@@ -1,4 +1,3 @@
-
 :mod:`gdbm` --- GNU's reinterpretation of dbm
 =============================================
 
@@ -6,6 +5,11 @@
    :platform: Unix
    :synopsis: GNU's reinterpretation of dbm.
 
+.. note::
+   The :mod:`gdbm` module has been renamed to :mod:`dbm.gnu` in Python 3.0.  The
+   :term:`2to3` tool will automatically adapt imports when converting your
+   sources to 3.0.
+
 
 .. index:: module: dbm
 
index 5c698183fc6e9657f14ef6b9fc390605cd4391cb..7048a0e3550f5ccb4860d1a7e62e448b23ce3c71 100644 (file)
@@ -1,10 +1,14 @@
-
 :mod:`whichdb` --- Guess which DBM module created a database
 ============================================================
 
 .. module:: whichdb
    :synopsis: Guess which DBM-style module created a given database.
 
+.. note::
+   The :mod:`whichdb` module's only function has been put into the :mod:`dbm`
+   module in Python 3.0.  The :term:`2to3` tool will automatically adapt imports
+   when converting your sources to 3.0.
+
 
 The single function in this module attempts to guess which of the several simple
 database modules available--\ :mod:`dbm`, :mod:`gdbm`, or :mod:`dbhash`\