mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-07 19:54:34 +08:00
Remove a NotImplementedError and a bit of code where we don't seem to pass anymore
This commit is contained in:
1 parent
70527d7329
commit
beacb58eb1
1 file changed
-3
@@ -204,9 +204,6 @@ class Importer(object):
|
||||
self._inference_possible = True
|
||||
if level:
|
||||
base = module_context.py__package__()
|
||||
if base == [''] or base == ['__main__']:
|
||||
raise NotImplementedError(module_context.py__package__())
|
||||
base = []
|
||||
# We need to care for two cases, the first one is if it's a valid
|
||||
# Python import. This import has a properly defined module name
|
||||
# chain like `foo.bar.baz` and an import in baz is made for
|
||||
|
||||
Reference in new issue
Block a user