forked from VimPlug/jedi
Remove class_context from BoundMethod, it's not really needed anymore
This commit is contained in:
@@ -59,7 +59,7 @@ class FunctionMixin(object):
|
||||
if instance is None:
|
||||
# Calling the Foo.bar results in the original bar function.
|
||||
return ContextSet([self])
|
||||
return ContextSet([BoundMethod(instance, class_context, self)])
|
||||
return ContextSet([BoundMethod(instance, self)])
|
||||
|
||||
def get_param_names(self):
|
||||
function_execution = self.get_function_execution()
|
||||
|
||||
Reference in New Issue
Block a user