diff options
Diffstat (limited to 'Lib/dbm/dumb.py')
-rw-r--r-- | Lib/dbm/dumb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dbm/dumb.py b/Lib/dbm/dumb.py index c3c4a66..5064668 100644 --- a/Lib/dbm/dumb.py +++ b/Lib/dbm/dumb.py @@ -24,7 +24,7 @@ is read when the database is opened, and some updates rewrite the whole index) import ast as _ast import io as _io import os as _os -import collections +import collections.abc __all__ = ["error", "open"] @@ -32,7 +32,7 @@ _BLOCKSIZE = 512 error = OSError -class _Database(collections.MutableMapping): +class _Database(collections.abc.MutableMapping): # The on-disk directory and data files can remain in mutually # inconsistent states for an arbitrarily long time (see comments |