1
0
forked from VimPlug/jedi

Remove unused code.

This commit is contained in:
Dave Halter
2017-09-09 17:56:51 +02:00
parent 077bccadc7
commit 078b5802d2
3 changed files with 1 additions and 37 deletions

View File

@@ -265,11 +265,10 @@ class FunctionContext(use_metaclass(CachedMetaClass, context.TreeContext)):
return function_execution.get_return_values()
def get_function_execution(self, arguments=None):
e = self.evaluator
if arguments is None:
arguments = param.AnonymousArguments()
return FunctionExecutionContext(e, self.parent_context, self, arguments)
return FunctionExecutionContext(self.evaluator, self.parent_context, self, arguments)
def py__call__(self, arguments):
function_execution = self.get_function_execution(arguments)