Skip to content

Commit

Permalink
Fix #124: Fix Python 3.8 incompatibilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem committed Jan 27, 2019
1 parent 0bdf64a commit 7b90744
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cachetools/abc.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
from __future__ import absolute_import

import collections
from abc import abstractmethod

try:
from collections.abc import MutableMapping
except ImportError:
from collections import MutableMapping

class DefaultMapping(collections.MutableMapping):

class DefaultMapping(MutableMapping):

__slots__ = ()

Expand Down

0 comments on commit 7b90744

Please sign in to comment.