File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,6 @@ the Oracle Berkeley DB.
56
56
The Unix file access mode of the file (default: octal ``0o666``),
57
57
used only when the database has to be created.
58
58
59
- .. |incompat_note | replace ::
60
- The file formats created by :mod: `dbm.gnu` and :mod:`dbm.ndbm` are incompatible
61
- and can not be used interchangeably.
62
-
63
59
.. function :: open(file, flag='r', mode=0o666)
64
60
65
61
Open a database and return the corresponding database object.
@@ -160,7 +156,10 @@ The :mod:`dbm.gnu` module provides an interface to the :abbr:`GDBM (GNU dbm)`
160
156
library, similar to the :mod: `dbm.ndbm ` module, but with additional
161
157
functionality like crash tolerance.
162
158
163
- .. note :: |incompat_note|
159
+ .. note ::
160
+
161
+ The file formats created by :mod: `dbm.gnu ` and :mod: `dbm.ndbm ` are incompatible
162
+ and can not be used interchangeably.
164
163
165
164
.. exception :: error
166
165
@@ -263,7 +262,10 @@ The :mod:`dbm.ndbm` module provides an interface to the
263
262
This module can be used with the "classic" NDBM interface or the
264
263
:abbr: `GDBM ( GNU dbm ) ` compatibility interface.
265
264
266
- .. note :: |incompat_note|
265
+ .. note ::
266
+
267
+ The file formats created by :mod: `dbm.gnu ` and :mod: `dbm.ndbm ` are incompatible
268
+ and can not be used interchangeably.
267
269
268
270
.. warning ::
269
271
You can’t perform that action at this time.
0 commit comments