Start implementing get_signatures

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

No files matched your search

+3
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)