1
0
forked from VimPlug/jedi

Start adding tests for goto_assignments on stubs

This commit is contained in:
Dave Halter
2019-04-10 20:41:05 +02:00
parent 31442ecb3b
commit 9f26c27b6d
5 changed files with 53 additions and 6 deletions

View File

@@ -18,6 +18,13 @@ from jedi.evaluate.cache import evaluator_as_method_param_cache
class HelperContextMixin(object):
def get_root_context(self):
context = self
while True:
if context.parent_context is None:
return context
context = context.parent_context
@classmethod
@evaluator_as_method_param_cache()
def create_cached(cls, *args, **kwargs):