'unregister(app_Name) -> HueApp. May raise KeyError'

def unregister(self, app_name):

    assert self._initialized, 'Registry    not    yet    initialized'
    app = self._apps[app_name]
    del self._apps[app_name]
    return app
