Skip to content

Commit 68d3eb9

Browse files
committed
Add renaming notices to 2.6 dbm module docs.
1 parent f9ef988 commit 68d3eb9

File tree

6 files changed

+28
-6
lines changed

6 files changed

+28
-6
lines changed

Doc/library/anydbm.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
21
:mod:`anydbm` --- Generic access to DBM-style databases
32
=======================================================
43

54
.. module:: anydbm
65
:synopsis: Generic interface to DBM-style database modules.
76

87

8+
.. note::
9+
The :mod:`anydbm` module has been renamed to :mod:`dbm` in Python 3.0. The
10+
:term:`2to3` tool will automatically adapt imports when converting your
11+
sources to 3.0.
12+
913
.. index::
1014
module: dbhash
1115
module: bsddb

Doc/library/dbhash.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
21
:mod:`dbhash` --- DBM-style interface to the BSD database library
32
=================================================================
43

54
.. module:: dbhash
65
:synopsis: DBM-style interface to the BSD database library.
76
.. sectionauthor:: Fred L. Drake, Jr. <[email protected]>
87

8+
.. note::
9+
The :mod:`dbhash` module has been renamed to :mod:`dbm.bsd` in Python 3.0.
10+
The :term:`2to3` tool will automatically adapt imports when converting your
11+
sources to 3.0.
912

1013
.. index:: module: bsddb
1114

Doc/library/dbm.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
21
:mod:`dbm` --- Simple "database" interface
32
==========================================
43

54
.. module:: dbm
65
:platform: Unix
76
:synopsis: The standard "database" interface, based on ndbm.
87

8+
.. note::
9+
The :mod:`dbm` module has been renamed to :mod:`dbm.ndbm` in Python 3.0. The
10+
:term:`2to3` tool will automatically adapt imports when converting your
11+
sources to 3.0.
12+
913

1014
The :mod:`dbm` module provides an interface to the Unix "(n)dbm" library. Dbm
1115
objects behave like mappings (dictionaries), except that keys and values are

Doc/library/dumbdbm.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
21
:mod:`dumbdbm` --- Portable DBM implementation
32
==============================================
43

54
.. module:: dumbdbm
65
:synopsis: Portable implementation of the simple DBM interface.
76

7+
.. note::
8+
The :mod:`dumbdbm` module has been renamed to :mod:`dbm.dumb` in Python 3.0.
9+
The :term:`2to3` tool will automatically adapt imports when converting your
10+
sources to 3.0.
811

912
.. index:: single: databases
1013

Doc/library/gdbm.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
21
:mod:`gdbm` --- GNU's reinterpretation of dbm
32
=============================================
43

54
.. module:: gdbm
65
:platform: Unix
76
:synopsis: GNU's reinterpretation of dbm.
87

8+
.. note::
9+
The :mod:`gdbm` module has been renamed to :mod:`dbm.gnu` in Python 3.0. The
10+
:term:`2to3` tool will automatically adapt imports when converting your
11+
sources to 3.0.
12+
913

1014
.. index:: module: dbm
1115

Doc/library/whichdb.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
21
:mod:`whichdb` --- Guess which DBM module created a database
32
============================================================
43

54
.. module:: whichdb
65
:synopsis: Guess which DBM-style module created a given database.
76

7+
.. note::
8+
The :mod:`whichdb` module's only function has been put into the :mod:`dbm`
9+
module in Python 3.0. The :term:`2to3` tool will automatically adapt imports
10+
when converting your sources to 3.0.
11+
812

913
The single function in this module attempts to guess which of the several simple
1014
database modules available--\ :mod:`dbm`, :mod:`gdbm`, or :mod:`dbhash`\

0 commit comments

Comments
 (0)