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

Method __init__

numpy/ma/core.py:8389–8392  ·  view source on GitHub ↗
(self, funcname, np_ret, np_ma_ret, params=None)

Source from the content-addressed store, hash-verified

8387 __doc__ = None
8388
8389 def __init__(self, funcname, np_ret, np_ma_ret, params=None):
8390 self._func = getattr(np, funcname)
8391 self.__doc__ = self.getdoc(np_ret, np_ma_ret)
8392 self._extras = params or {}
8393
8394 def getdoc(self, np_ret, np_ma_ret):
8395 "Return the doc of the function (from the doc of the method)."

Callers

nothing calls this directly

Calls 1

getdocMethod · 0.95

Tested by

no test coverage detected