From 2e576f5aec1f8f23f07001e2eb3db9276851a4fc Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 24 Apr 2017 09:05:00 +0300 Subject: bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) --- Lib/dbm/dumb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/dbm/dumb.py') diff --git a/Lib/dbm/dumb.py b/Lib/dbm/dumb.py index c3c4a66601..5064668c77 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 -- cgit v1.2.1