def get_mako(factory=Mako, key=_registry_key, app=None):
 app = (app or webapp2.get_app())
 mako = app.registry.get(key)
 if (not mako):
  mako = app.registry[key] = factory(app)
 return mako

def get_mako ( factory = Mako , key = _registry_key , app = None ) : app = ( app or webapp2 . get_app ( ) ) mako = app . registry . get ( key ) if ( not mako ) : mako = app . registry [ key ] = factory ( app ) return mako
returns an instance of :class:mako from the app registry .