def yieldroutes(func):
    path = '/' + func.__name__.replace('__', '/').lstrip('/')
    spec = getargspec(func)
    argc = len(spec[0]) - len(spec[3] or [])
    path += ('/<%s>' * argc) % tuple(spec[0][:argc])
    yield path
    for arg in spec[0][argc:]:
        path += '/<%s>' % arg
        yield path
Returns the given filename handler as a function
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/yieldroutes--crossover with--dataset/ETHPy150Open beaufour/flickr-download/flickr_download/filename_handlers.py/get_filename_handler