[Python-checkins] r63660 - in python/trunk/Doc/library: anydbm.rst dbhash.rst dbm.rst dumbdbm.rst gdbm.rst whichdb.rst
georg.brandl
python-checkins at python.org
Mon May 26 12:22:25 CEST 2008
Author: georg.brandl
Date: Mon May 26 12:22:15 2008
New Revision: 63660
Log:
Add renaming notices to 2.6 dbm module docs.
Modified:
python/trunk/Doc/library/anydbm.rst
python/trunk/Doc/library/dbhash.rst
python/trunk/Doc/library/dbm.rst
python/trunk/Doc/library/dumbdbm.rst
python/trunk/Doc/library/gdbm.rst
python/trunk/Doc/library/whichdb.rst
Modified: python/trunk/Doc/library/anydbm.rst
==============================================================================
--- python/trunk/Doc/library/anydbm.rst (original)
+++ python/trunk/Doc/library/anydbm.rst Mon May 26 12:22:15 2008
@@ -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
Modified: python/trunk/Doc/library/dbhash.rst
==============================================================================
--- python/trunk/Doc/library/dbhash.rst (original)
+++ python/trunk/Doc/library/dbhash.rst Mon May 26 12:22:15 2008
@@ -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 at 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
Modified: python/trunk/Doc/library/dbm.rst
==============================================================================
--- python/trunk/Doc/library/dbm.rst (original)
+++ python/trunk/Doc/library/dbm.rst Mon May 26 12:22:15 2008
@@ -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
Modified: python/trunk/Doc/library/dumbdbm.rst
==============================================================================
--- python/trunk/Doc/library/dumbdbm.rst (original)
+++ python/trunk/Doc/library/dumbdbm.rst Mon May 26 12:22:15 2008
@@ -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
Modified: python/trunk/Doc/library/gdbm.rst
==============================================================================
--- python/trunk/Doc/library/gdbm.rst (original)
+++ python/trunk/Doc/library/gdbm.rst Mon May 26 12:22:15 2008
@@ -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
Modified: python/trunk/Doc/library/whichdb.rst
==============================================================================
--- python/trunk/Doc/library/whichdb.rst (original)
+++ python/trunk/Doc/library/whichdb.rst Mon May 26 12:22:15 2008
@@ -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`\
More information about the Python-checkins
mailing list