diff --git a/parso/python/tree.py b/parso/python/tree.py index 0624e67..418b152 100644 --- a/parso/python/tree.py +++ b/parso/python/tree.py @@ -43,10 +43,7 @@ Parser Tree Classes """ import re -try: - from collections.abc import Mapping -except ImportError: - from collections import Mapping +from collections.abc import Mapping from typing import Tuple from parso.tree import Node, BaseNode, Leaf, ErrorNode, ErrorLeaf, search_ancestor # noqa