

def getSource(self):
    if (self._pythonSource is None):
        try:
            ex = self.getExample()
            self._pythonSource = inspect.getsource(inspect.getmodule(ex))
        except IOError:
            print((((self._MSG_SOURCE_NOT_AVAILABLE + ' (') + self.getFragmentName()) + ')'))
            self._pythonSource = self._MSG_SOURCE_NOT_AVAILABLE
    return self._pythonSource

dataset/ETHPy150Open rwl/muntjac/muntjac/demo/sampler/Feature.py Feature.getSource/original