def _require_ctypes_version(version):
    # Check ctypes version
    import ctypes
    req = [int(i) for i in version.split('.')]
    have = [int(i) for i in ctypes.__version__.split('.')]
    if not tuple(req) >= tuple(have):
        raise ImportError('pyglet requires ctypes %s or later.' % version)
dataset/ETHPy150Open ardekantur/pyglet/pyglet/__init__.py/_require_ctypes_version/swapped operands of `>=`