(self)
| 451 | self['Signature'] = signature |
| 452 | |
| 453 | def get_func(self): |
| 454 | func_name = getattr(self._f, '__name__', self.__class__.__name__) |
| 455 | if inspect.isclass(self._f): |
| 456 | func = getattr(self._f, '__call__', self._f.__init__) |
| 457 | else: |
| 458 | func = self._f |
| 459 | return func, func_name |
| 460 | |
| 461 | def __str__(self): |
| 462 | out = '' |