Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Side by Side Diff: Doc/library/dbm.rst

Issue 18758: Fix internal references in the documentation
Patch Set: Created 6 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/configparser.rst ('k') | Doc/library/difflib.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`dbm` --- Interfaces to Unix "databases" 1 :mod:`dbm` --- Interfaces to Unix "databases"
2 ============================================= 2 =============================================
3 3
4 .. module:: dbm 4 .. module:: dbm
5 :synopsis: Interfaces to various Unix "database" formats. 5 :synopsis: Interfaces to various Unix "database" formats.
6 6
7 :mod:`dbm` is a generic interface to variants of the DBM database --- 7 :mod:`dbm` is a generic interface to variants of the DBM database ---
8 :mod:`dbm.gnu` or :mod:`dbm.ndbm`. If none of these modules is installed, the 8 :mod:`dbm.gnu` or :mod:`dbm.ndbm`. If none of these modules is installed, the
9 slow-but-simple implementation in module :mod:`dbm.dumb` will be used. There 9 slow-but-simple implementation in module :mod:`dbm.dumb` will be used. There
10 is a `third party interface <http://www.jcea.es/programacion/pybsddb.htm>`_ to 10 is a `third party interface <http://www.jcea.es/programacion/pybsddb.htm>`_ to
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 dumbdbm database is created, files with :file:`.dat` and :file:`.dir` extensi ons 310 dumbdbm database is created, files with :file:`.dat` and :file:`.dir` extensi ons
311 are created. 311 are created.
312 312
313 The optional *flag* argument is currently ignored; the database is always ope ned 313 The optional *flag* argument is currently ignored; the database is always ope ned
314 for update, and will be created if it does not exist. 314 for update, and will be created if it does not exist.
315 315
316 The optional *mode* argument is the Unix mode of the file, used only when the 316 The optional *mode* argument is the Unix mode of the file, used only when the
317 database has to be created. It defaults to octal ``0o666`` (and will be modi fied 317 database has to be created. It defaults to octal ``0o666`` (and will be modi fied
318 by the prevailing umask). 318 by the prevailing umask).
319 319
320 In addition to the methods provided by the :class:`collections.MutableMapping ` class, 320 In addition to the methods provided by the :class:`collections.abc.MutableMap ping` class,
321 :class:`dumbdbm` objects provide the following method: 321 :class:`dumbdbm` objects provide the following method:
322 322
323 .. method:: dumbdbm.sync() 323 .. method:: dumbdbm.sync()
324 324
325 Synchronize the on-disk directory and data files. This method is called 325 Synchronize the on-disk directory and data files. This method is called
326 by the :meth:`Shelve.sync` method. 326 by the :meth:`Shelve.sync` method.
OLDNEW
« no previous file with comments | « Doc/library/configparser.rst ('k') | Doc/library/difflib.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+