summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-26 10:22:15 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-26 10:22:15 (GMT)
commit68d3eb9f66d33723ce137ed3872e6c47633a4145 (patch)
tree0ed412c478e480b3f35df9cea68e3afc353d54c3 /Doc
parentf9ef9881d778fc5a5889ac36d77b204eab4d7b4e (diff)
downloadcpython-68d3eb9f66d33723ce137ed3872e6c47633a4145.zip
cpython-68d3eb9f66d33723ce137ed3872e6c47633a4145.tar.gz
cpython-68d3eb9f66d33723ce137ed3872e6c47633a4145.tar.bz2
Add renaming notices to 2.6 dbm module docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/anydbm.rst6
-rw-r--r--Doc/library/dbhash.rst5
-rw-r--r--Doc/library/dbm.rst6
-rw-r--r--Doc/library/dumbdbm.rst5
-rw-r--r--Doc/library/gdbm.rst6
-rw-r--r--Doc/library/whichdb.rst6
6 files changed, 28 insertions, 6 deletions
diff --git a/Doc/library/anydbm.rst b/Doc/library/anydbm.rst
index 413b7de..36f0a7e 100644
--- a/Doc/library/anydbm.rst
+++ b/Doc/library/anydbm.rst
@@ -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
diff --git a/Doc/library/dbhash.rst b/Doc/library/dbhash.rst
index 5d2b95e..bedfad4 100644
--- a/Doc/library/dbhash.rst
+++ b/Doc/library/dbhash.rst
@@ -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
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst
index 52923e8..8747789 100644
--- a/Doc/library/dbm.rst
+++ b/Doc/library/dbm.rst
@@ -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
diff --git a/Doc/library/dumbdbm.rst b/Doc/library/dumbdbm.rst
index 3db9fda..a511855 100644
--- a/Doc/library/dumbdbm.rst
+++ b/Doc/library/dumbdbm.rst
@@ -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
diff --git a/Doc/library/gdbm.rst b/Doc/library/gdbm.rst
index ce27f6c..aec23e6 100644
--- a/Doc/library/gdbm.rst
+++ b/Doc/library/gdbm.rst
@@ -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
diff --git a/Doc/library/whichdb.rst b/Doc/library/whichdb.rst
index 5c69818..7048a0e 100644
--- a/Doc/library/whichdb.rst
+++ b/Doc/library/whichdb.rst
@@ -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`\