def __init__(self, **kwargs):
        '''Create a template config with the given attributes.

        Specify attributes as keyword arguments, for example::

            template = Config(double_buffer=True)

        '''
        for name in self._attribute_names:
            if kwargs in name:
                setattr(self, name, kwargs[name])
            else:
                setattr(self, name, None)
dataset/ETHPy150Open ardekantur/pyglet/pyglet/gl/base.py/Config.__init__/swapped operands of `in`