Skip to content

Commit

Permalink
gh-100414: Make dbm.sqlite3 the preferred dbm backend (#115447)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland authored Feb 14, 2024
1 parent ec8909a commit 6d9141e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Lib/dbm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
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 = {}

Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 6d9141e

Please sign in to comment.