Return the doc of the function (from the doc of the method).
(self)
| 6858 | self.reversed = reversed |
| 6859 | |
| 6860 | def getdoc(self): |
| 6861 | "Return the doc of the function (from the doc of the method)." |
| 6862 | meth = getattr(MaskedArray, self.__name__, None) or\ |
| 6863 | getattr(np, self.__name__, None) |
| 6864 | signature = self.__name__ + get_object_signature(meth) |
| 6865 | if meth is not None: |
| 6866 | doc = """ %s\n%s""" % ( |
| 6867 | signature, getattr(meth, '__doc__', None)) |
| 6868 | return doc |
| 6869 | |
| 6870 | def __call__(self, a, *args, **params): |
| 6871 | if self.reversed: |