def _getReason(self, status):
        exitCode = sig = None
        if os.WIFEXITED(status):
            exitCode = os.WEXITSTATUS(status)
        else:
            sig = os.WTERMSIG(status)
        if exitCode and sig:
            return error.ProcessTerminated(exitCode, sig, status)
        return error.ProcessDone(status)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/process.py/_BaseProcess._getReason/operator `or` -> `and`