1
0
forked from VimPlug/jedi

Remove FUNCTION_CLASS, in favor of a typeshed solution

This commit is contained in:
Dave Halter
2019-05-19 14:19:30 +02:00
parent 05a3d7a3bc
commit f9eedfbf64
3 changed files with 7 additions and 2 deletions

View File

@@ -271,3 +271,7 @@ def parse_dotted_names(nodes, is_import_from, until_node=None):
# for names.
break
return level, names
def contexts_from_qualified_names(evaluator, *names):
return evaluator.import_module(names[:-1]).py__getattribute__(names[-1])