Commit f0664995 authored by Zuul's avatar Zuul Committed by Gerrit Code Review

Merge "Import MutableMapping from the correct Python module"

parents 6803334b a00dab7b
......@@ -4,7 +4,7 @@
.. _`SQLite`: http://www.sqlite.org/
"""
try: # Python 3
from collections import MutableMapping as DictMixin
from collections.abc import MutableMapping as DictMixin
except ImportError: # Python 2
from UserDict import DictMixin
from copy import copy
......
......@@ -3,7 +3,7 @@
"""
import abc
try: # Python 3
from collections import MutableMapping as DictMixin
from collections.abc import MutableMapping as DictMixin
except ImportError: # Python 2
from UserDict import DictMixin
import warnings
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment