def trap(self, *errorTypes):
        error = self.check(*errorTypes)
        if not error:
            raise self
        return error
If a module is given, wrap it into a ModuleDecidingAgent before evaluating it.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/failure.py/Failure.trap--crossover with--dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/twoplayergames/tasks/capturetask.py/CaptureGameTask.f