

def _maybe_raise(self, result):
    'wrapper for maybe raising an exception if apply failed.'
    if isinstance(self, error.RemoteError):
        raise result
    return result

dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/client/client.py Client._maybe_raise/VarMisuse@17/39 `result`->`self`