Jedi still has an import dependency on search_ancestor

The problem is basically that Python packaging usually is a bit fuzzy. That's
why I prefer to have this in there for quite some time to avoid conflicts of
version mismatches between Jedi/Parso.
This commit is contained in:
Dave Halter
2021-08-23 21:53:34 +02:00
parent e1523014e4
commit 9f32dde163

View File

@@ -49,7 +49,7 @@ except ImportError:
from collections import Mapping from collections import Mapping
from typing import Tuple from typing import Tuple
from parso.tree import Node, BaseNode, Leaf, ErrorNode, ErrorLeaf from parso.tree import Node, BaseNode, Leaf, ErrorNode, ErrorLeaf, search_ancestor # noqa
from parso.python.prefix import split_prefix from parso.python.prefix import split_prefix
from parso.utils import split_lines from parso.utils import split_lines