0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 00:38:00 +01:00

gh-100414: Make dbm.sqlite3 the preferred dbm backend (#115447)

This commit is contained in:
Erlend E. Aasland 2024-02-14 14:47:19 +01:00 committed by GitHub
parent ec8909a239
commit 6d9141ed76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@ dbm
from the database.
(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`.)
doctest

View File

@ -38,7 +38,7 @@ import sys
class error(Exception):
pass
_names = ['dbm.gnu', 'dbm.ndbm', 'dbm.sqlite3', 'dbm.dumb']
_names = ['dbm.sqlite3', 'dbm.gnu', 'dbm.ndbm', 'dbm.dumb']
_defaultmod = None
_modules = {}

View File

@ -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.