From 3158571e46eb3e31fa5fa7a69173cd567382c724 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 4 Feb 2026 02:28:45 +0100 Subject: [PATCH] Change a small typing issue --- parso/python/tree.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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