def expose(name):
 def wrapped(f):
  views[name] = f
  return f
 return wrapped

def expose ( name ) : def wrapped ( f ) : views [ name ] = f return f return wrapped
decorator: mark a function as exposed and thus web accessible .