diff options
Diffstat (limited to 'frozendict/__init__.py')
-rw-r--r-- | frozendict/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frozendict/__init__.py b/frozendict/__init__.py index 399948a..5bb99bb 100644 --- a/frozendict/__init__.py +++ b/frozendict/__init__.py @@ -13,9 +13,9 @@ except ImportError: # python < 2.7 iteritems = getattr(dict, 'iteritems', dict.items) # py2-3 compatibility -class frozendict(collections.Mapping): +class frozendict(collections.abc.Mapping): """ - An immutable wrapper around dictionaries that implements the complete :py:class:`collections.Mapping` + An immutable wrapper around dictionaries that implements the complete :py:class:`collections.abc.Mapping` interface. It can be used as a drop-in replacement for dictionaries where immutability is desired. """ |