forked from VimPlug/jedi
get_params -> get_executed_params where possible
This commit is contained in:
@@ -247,4 +247,4 @@ class FunctionExecutionContext(TreeContext):
|
||||
|
||||
@evaluator_method_cache()
|
||||
def get_params(self):
|
||||
return self.var_args.get_params(self)
|
||||
return self.var_args.get_executed_params(self)
|
||||
|
||||
@@ -334,6 +334,9 @@ class BoundMethod(AbstractFunction):
|
||||
return InstanceFunctionExecution(
|
||||
self._instance, self.parent_context, self, arguments)
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s: %s>' % (self.__class__.__name__, self._function)
|
||||
|
||||
|
||||
class CompiledBoundMethod(compiled.CompiledObject):
|
||||
def __init__(self, func):
|
||||
|
||||
Reference in New Issue
Block a user