MCPcopy Create free account
hub / github.com/numpy/numpy / getdoc

Method getdoc

numpy/ma/core.py:6860–6868  ·  view source on GitHub ↗

Return the doc of the function (from the doc of the method).

(self)

Source from the content-addressed store, hash-verified

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:

Callers 5

__init__Method · 0.95
check_restFunction · 0.45
infoFunction · 0.45
_lookfor_generate_cacheFunction · 0.45
_compare_docsFunction · 0.45

Calls 1

get_object_signatureFunction · 0.85

Tested by 1

_compare_docsFunction · 0.36