1
0
forked from VimPlug/jedi

Remove class_context from BoundMethod, it's not really needed anymore

This commit is contained in:
Dave Halter
2018-11-23 00:11:39 +01:00
parent 55982d699b
commit 12a0357f6b
3 changed files with 9 additions and 20 deletions

View File

@@ -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()