mirror of
https://github.com/davidhalter/parso.git
synced 2026-08-08 00:48:50 +08:00
Change a small typing issue
This commit is contained in:
@@ -43,10 +43,7 @@ Parser Tree Classes
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
try:
|
from collections.abc import Mapping
|
||||||
from collections.abc import Mapping
|
|
||||||
except ImportError:
|
|
||||||
from collections import Mapping
|
|
||||||
from typing import Tuple
|
from typing import Tuple
|
||||||
|
|
||||||
from parso.tree import Node, BaseNode, Leaf, ErrorNode, ErrorLeaf, search_ancestor # noqa
|
from parso.tree import Node, BaseNode, Leaf, ErrorNode, ErrorLeaf, search_ancestor # noqa
|
||||||
|
|||||||
Reference in New Issue
Block a user