1
0
forked from VimPlug/jedi

Refactor TypeVar a bit so it's more resistant

This commit is contained in:
Dave Halter
2018-08-30 09:58:18 +02:00
parent 10383de959
commit f5f9fc1955
2 changed files with 18 additions and 18 deletions

View File

@@ -343,6 +343,9 @@ class BoundMethod(AbstractFunction):
return self._function.get_function_execution(arguments)
def get_default_param_context(self):
return self._class
def py__call__(self, arguments):
if isinstance(self._function, OverloadedFunctionContext):
return self._function.py__call__(self._get_arguments(arguments))