Files
nand2tetris/asm/venv/lib/python3.11/site-packages/appnope/__init__.py
Sven Riwoldt c7bc862c6f asm
2024-04-01 20:30:24 +02:00

16 lines
291 B
Python

__version__ = "0.1.4"
import re
import sys
import platform
def _v(version_s):
return tuple(int(s) for s in re.findall(r"\d+", version_s))
if sys.platform != "darwin" or _v(platform.mac_ver()[0]) < _v("10.9"):
from ._dummy import * # noqa
else:
from ._nope import * # noqa