def make_static(global_conf, document_root, cache_max_age=None):
 if (cache_max_age is not None):
  cache_max_age = int(cache_max_age)
 return StaticURLParser(document_root, cache_max_age=cache_max_age)

def make_static ( global_conf , document_root , cache_max_age = None ) : if ( cache_max_age is not None ) : cache_max_age = int ( cache_max_age ) return StaticURLParser ( document_root , cache_max_age = cache_max_age )
return a wsgi application that serves a directory cache_max_age - integer specifies cache_control max_age in seconds .