def set_mako(mako, key=_registry_key, app=None):
 app = (app or webapp2.get_app())
 app.registry[key] = mako

def set_mako ( mako , key = _registry_key , app = None ) : app = ( app or webapp2 . get_app ( ) ) app . registry [ key ] = mako
sets an instance of :class:mako in the app registry .