def __new__(cls, id):
        _mixer_init_check()

        if id < 0 or id >= Mix_GroupCount(-1):
            raise IndexError('invalid channel index')

        if id in _channels:
            return _channels[id]

        inst = super(Channel, cls).__new__(cls)

        return inst
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/pygame/mixer.py/Channel.__new__/original