Skip to content

Commit

Permalink
Fixed DeprecationWarning from collections.abc
Browse files Browse the repository at this point in the history
DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from 'collections.abc' is deprecated since Python 3.3,
and in 3.9 it will stop working.
  • Loading branch information
maurosilber committed Aug 22, 2020
1 parent 882582b commit d4f57c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serialize/pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:license: BSD, see LICENSE for more details.
"""

import collections
from collections.abc import MutableMapping

from . import all

Expand All @@ -23,7 +23,7 @@
raise


class DispatchTable(collections.MutableMapping):
class DispatchTable(MutableMapping):

def __getitem__(self, item):
if item in all.CLASSES:
Expand Down

0 comments on commit d4f57c4

Please sign in to comment.