def timed (log=sys.stderr, limit=2.0):
    """Decorator to run a function with timing info."""
    return lambda func: timeit(func, log, limit)
def timed ( log = sys . stderr , limit = 2.0 ) : return lambda func : timeit ( func , log , limit )
Decorator to run a function with timing info.