forked from VimPlug/jedi
Remove is_package on contexts
This commit is contained in:
@@ -284,7 +284,7 @@ def _create(inference_state, access_handle, parent_context, *args):
|
||||
file_io=file_io,
|
||||
string_names=string_names,
|
||||
code_lines=code_lines,
|
||||
is_package=compiled_object.is_package,
|
||||
is_package=compiled_object.is_package(),
|
||||
).as_context()
|
||||
if name is not None:
|
||||
inference_state.module_cache.add(string_names, ValueSet([module_context]))
|
||||
|
||||
@@ -89,7 +89,6 @@ class CompiledObject(Value):
|
||||
return None
|
||||
return map(cast_path, paths)
|
||||
|
||||
@property
|
||||
def is_package(self):
|
||||
return self.py__path__() is not None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user