cubicweb/multipart.py
changeset 12579 ce089224954d
parent 12578 d06a2feae373
equal deleted inserted replaced
12578:d06a2feae373 12579:ce089224954d
    48 ################################ Helper & Misc ################################
    48 ################################ Helper & Misc ################################
    49 ##############################################################################
    49 ##############################################################################
    50 # Some of these were copied from bottle: http://bottle.paws.de/
    50 # Some of these were copied from bottle: http://bottle.paws.de/
    51 
    51 
    52 try:
    52 try:
    53     from collections import MutableMapping as DictMixin
    53     from collections.abc import MutableMapping as DictMixin
    54 except ImportError: # pragma: no cover (fallback for Python 2.5)
    54 except ImportError: # pragma: no cover (fallback for Python 2.5)
    55     from UserDict import DictMixin
    55     from UserDict import DictMixin
    56 
    56 
    57 class MultiDict(DictMixin):
    57 class MultiDict(DictMixin):
    58     """ A dict that remembers old values for each key """
    58     """ A dict that remembers old values for each key """