Change a small typing issue

This commit is contained in:
Dave Halter
2026-02-04 02:28:45 +01:00
parent be9f5a401f
commit 3158571e46

View File

@@ -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