parameters: (closure, *args, **optargs)
docstring: A shorthand for timing a single function call. Returns a tuple of
    (closure return value, timer).
docstring_summary: A shorthand for timing a single function call. Returns a tuple of
    (closure return value, timer).
docstring_tokens: A shorthand for timing a single function call . Returns a tuple of ( closure return value timer ) .
function: def TimerClosure(closure, *args, **optargs):
    '''A shorthand for timing a single function call. Returns a tuple of
    (closure return value, timer).
    '''
    timer = Timer()
    try:
      return closure(*args, **optargs), timer
    finally:
      timer.Stop()
function_tokens: def TimerClosure ( closure , * args , * * optargs ) : timer = Timer ( ) try : return closure ( * args , * * optargs ) , timer finally : timer . Stop ( )