Skip to content

Commit

Permalink
remove compat code which is only required for ancient Python versions
Browse files Browse the repository at this point in the history
This library requires Python 3.6+ anyway so we can just drop the old
compatibility code.
  • Loading branch information
FelixSchwarz committed Nov 20, 2023
1 parent 032df78 commit 216348b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dotmap/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from __future__ import print_function

from collections import OrderedDict
try:
from collections.abc import MutableMapping, Iterable
except ImportError:
from collections import MutableMapping, Iterable
from collections.abc import MutableMapping, Iterable
from json import dumps
from pprint import pprint
from sys import version_info
Expand Down

0 comments on commit 216348b

Please sign in to comment.