def getdoc(self):
npfunc = getattr(np, self.__name__, None)<EOL>doc = getattr(npfunc, '<STR_LIT>', None)<EOL>if doc:<EOL><INDENT>sig = self.__name__ + ma.get_object_signature(npfunc)<EOL>locdoc = "<STR_LIT>""<STR_LIT>"<EOL>return '<STR_LIT:\n>'.join((sig, doc, locdoc))<EOL><DEDENT>return<EOL>
Retrieve the docstring and signature from the function.

The ``__doc__`` attribute of the function is used as the docstring for
the new masked array version of the function. A note on application
of the function to the mask is appended.

.. warning::
  If the function docstring already contained a Notes section, the
  new docstring will have two Notes sections instead of appending a note
  to the existing section.

Parameters
----------
None