forked from VimPlug/jedi
Use the root implementation for get_root_context
This commit is contained in:
@@ -27,11 +27,7 @@ class HelperValueMixin(object):
|
|||||||
value = self
|
value = self
|
||||||
if value.parent_context is None:
|
if value.parent_context is None:
|
||||||
return value.as_context()
|
return value.as_context()
|
||||||
|
return super(HelperValueMixin, self).get_root_context()
|
||||||
while True:
|
|
||||||
if value.parent_context is None:
|
|
||||||
return value
|
|
||||||
value = value.parent_context
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@inference_state_as_method_param_cache()
|
@inference_state_as_method_param_cache()
|
||||||
|
|||||||
Reference in New Issue
Block a user