forked from VimPlug/jedi
Make sure a self variable is only defined in a function not outside
This commit is contained in:
@@ -331,7 +331,6 @@ class SimpleParamName(X):
|
||||
values = super(SimpleParamName, self).infer()
|
||||
if values:
|
||||
return values
|
||||
# TODO private access
|
||||
from jedi.inference.dynamic_params import dynamic_param_lookup
|
||||
param = self._get_param_node()
|
||||
values = dynamic_param_lookup(self.function_value, param.position_index)
|
||||
|
||||
Reference in New Issue
Block a user