mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-18 06:19:39 +08:00
Small adjustment in Interpreter completion to be compatible with static analysis
This commit is contained in:
@@ -63,7 +63,7 @@ class LazyName(helpers.FakeName):
|
|||||||
module = builtins
|
module = builtins
|
||||||
else:
|
else:
|
||||||
module = __import__(module_name)
|
module = __import__(module_name)
|
||||||
fake_name = helpers.FakeName(names, FakeParent)
|
fake_name = helpers.FakeName(names, FakeParent())
|
||||||
parser_path = fake_name.names
|
parser_path = fake_name.names
|
||||||
raw_module = get_module(self._value)
|
raw_module = get_module(self._value)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user