

def __init__(self, **kwargs):
    self.values = dict(self.params)
    for k in kwargs:
        if (k not in self.values):
            raise KeyError
        else:
            self.values[k] = kwargs[k]
    self.width = self.values['width']
    self.height = self.values['height']

dataset/ETHPy150Open los-cocos/cocos/utest/pyglet_mockup1/pyglet/window/__init__.py Window.__init__/original