def _failSafeCheck():
    if FAILSAFE and position() == (0, 0):
        raise FailSafeException('PyAutoGUI fail-safe triggered from mouse moving to upper-left corner. To disable this fail-safe, set pyautogui.FAILSAFE to False.')
dataset/ETHPy150Open asweigart/pyautogui/pyautogui/__init__.py/_failSafeCheck/original