#NEWLINE# def set_store( store , key = _store_registry_key , app = None ) : #NEWLINE# #INDENT# 'Sets an instance of :class:`I18nStore` in the app registry.\n\n    :param store:\n        An instance of :class:`I18nStore`.\n    :param key:\n        The key used to retrieve the instance from the registry. A default\n        is used if it is not set.\n    :param request:\n        A :class:`webapp2.WSGIApplication` instance used to retrieve the\n        instance. The active app is used if it is not set.\n    ' #NEWLINE# app = ( app or webapp2 . get_app ( ) ) #NEWLINE# app . registry [ key ] = store