forked from VimPlug/jedi
infer_state -> inference_state
This commit is contained in:
@@ -9,9 +9,9 @@ from jedi.inference.compiled.access import create_access_path
|
||||
from jedi.inference.base_value import ValueWrapper
|
||||
|
||||
|
||||
def _create(infer_state, obj):
|
||||
def _create(inference_state, obj):
|
||||
return compiled.create_from_access_path(
|
||||
infer_state, create_access_path(infer_state, obj)
|
||||
inference_state, create_access_path(inference_state, obj)
|
||||
)
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ class NamespaceObject(object):
|
||||
class MixedModuleValue(ValueWrapper):
|
||||
type = 'mixed_module'
|
||||
|
||||
def __init__(self, infer_state, tree_module, namespaces, file_io, code_lines):
|
||||
def __init__(self, inference_state, tree_module, namespaces, file_io, code_lines):
|
||||
module_value = ModuleValue(
|
||||
infer_state, tree_module,
|
||||
inference_state, tree_module,
|
||||
file_io=file_io,
|
||||
string_names=('__main__',),
|
||||
code_lines=code_lines
|
||||
@@ -38,7 +38,7 @@ class MixedModuleValue(ValueWrapper):
|
||||
yield filter
|
||||
|
||||
for namespace_obj in self._namespace_objects:
|
||||
compiled_object = _create(self.infer_state, namespace_obj)
|
||||
compiled_object = _create(self.inference_state, namespace_obj)
|
||||
mixed_object = mixed.MixedObject(
|
||||
compiled_object=compiled_object,
|
||||
tree_value=self._wrapped_value
|
||||
|
||||
Reference in New Issue
Block a user