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 @@ -61,10 +61,6 @@ the Oracle Berkeley DB.
61
61
The Unix file access mode of the file (default: octal ``0o666``),
62
62
used only when the database has to be created.
63
63
64
- .. |incompat_note | replace ::
65
- The file formats created by :mod: `dbm.gnu` and :mod:`dbm.ndbm` are incompatible
66
- and can not be used interchangeably.
67
-
68
64
.. function :: open(file, flag='r', mode=0o666)
69
65
70
66
Open a database and return the corresponding database object.
@@ -205,7 +201,10 @@ The :mod:`dbm.gnu` module provides an interface to the :abbr:`GDBM (GNU dbm)`
205
201
library, similar to the :mod: `dbm.ndbm ` module, but with additional
206
202
functionality like crash tolerance.
207
203
208
- .. note :: |incompat_note|
204
+ .. note ::
205
+
206
+ The file formats created by :mod: `dbm.gnu ` and :mod: `dbm.ndbm ` are incompatible
207
+ and can not be used interchangeably.
209
208
210
209
.. exception :: error
211
210
@@ -314,7 +313,10 @@ The :mod:`dbm.ndbm` module provides an interface to the
314
313
This module can be used with the "classic" NDBM interface or the
315
314
:abbr: `GDBM ( GNU dbm ) ` compatibility interface.
316
315
317
- .. note :: |incompat_note|
316
+ .. note ::
317
+
318
+ The file formats created by :mod: `dbm.gnu ` and :mod: `dbm.ndbm ` are incompatible
319
+ and can not be used interchangeably.
318
320
319
321
.. warning ::
320
322
You can’t perform that action at this time.
0 commit comments