1
0
forked from VimPlug/jedi

Start implementing get_signatures

This commit is contained in:
Dave Halter
2018-11-07 01:20:39 +01:00
parent b847bb1c72
commit d8090cfa0a
6 changed files with 25 additions and 4 deletions

View File

@@ -420,6 +420,9 @@ class BoundMethod(FunctionMixin, ContextWrapper):
else:
yield BoundMethod(self.instance, self.class_context, func)
def get_signatures(self):
return [sig.bind() for sig in self._wrapped_context.get_signatures()]
def __repr__(self):
return '<%s: %s>' % (self.__class__.__name__, self._wrapped_context)