mirror of
https://github.com/davidhalter/parso.git
synced 2026-04-13 19:29:48 +08:00
Change a small typing issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user