mirror of https://github.com/python/cpython
gh-100414: Make dbm.sqlite3 the preferred dbm backend (#115447)
This commit is contained in:
parent
ec8909a239
commit
6d9141ed76
|
@ -238,7 +238,7 @@ dbm
|
||||||
from the database.
|
from the database.
|
||||||
(Contributed by Donghee Na in :gh:`107122`.)
|
(Contributed by Donghee Na in :gh:`107122`.)
|
||||||
|
|
||||||
* Add new :mod:`dbm.sqlite3` backend.
|
* Add new :mod:`dbm.sqlite3` backend, and make it the default :mod:`!dbm` backend.
|
||||||
(Contributed by Raymond Hettinger and Erlend E. Aasland in :gh:`100414`.)
|
(Contributed by Raymond Hettinger and Erlend E. Aasland in :gh:`100414`.)
|
||||||
|
|
||||||
doctest
|
doctest
|
||||||
|
|
|
@ -38,7 +38,7 @@ import sys
|
||||||
class error(Exception):
|
class error(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
_names = ['dbm.gnu', 'dbm.ndbm', 'dbm.sqlite3', 'dbm.dumb']
|
_names = ['dbm.sqlite3', 'dbm.gnu', 'dbm.ndbm', 'dbm.dumb']
|
||||||
_defaultmod = None
|
_defaultmod = None
|
||||||
_modules = {}
|
_modules = {}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
Add :mod:`dbm.sqlite3` as a backend to :mod:`dbm`.
|
Add :mod:`dbm.sqlite3` as a backend to :mod:`dbm`, and make it the new default :mod:`!dbm` backend.
|
||||||
Patch by Raymond Hettinger and Erlend E. Aasland.
|
Patch by Raymond Hettinger and Erlend E. Aasland.
|
||||||
|
|
Loading…
Reference in New Issue