def _split_nul_strings(s):
    # NUL-separated list of strings, double-NUL-terminated.
    nul = False
    i = 0
    while True:
        if s[i] == '\0':
            if nul:
                break
            else:
                nul = True
        else:
            nul = False
        i += 1
    s = s[:1 - i]
    return s.split('\0')
dataset/ETHPy150Open ardekantur/pyglet/experimental/mt_media/drivers/openal/__init__.py/_split_nul_strings/swapped operands of `-`