parameters: (setup, func)
return_statement: return inner
docstring: Create a timer function. Used if the "statement" is a callable.
docstring_summary: Create a timer function. Used if the "statement" is a callable.
docstring_tokens: Create a timer function . Used if the statement is a callable .
function: def _template_func(setup, func):
      """Create a timer function. Used if the "statement" is a callable."""
      def inner(_it, _timer, _func=func):
          setup()
          _t0 = _timer()
          for _i in _it:
              _func()
          _t1 = _timer()
          return _t1 - _t0
      return inner
function_tokens: def _template_func ( setup , func ) : def inner ( _it , _timer , _func = func ) : setup ( ) _t0 = _timer ( ) for _i in _it : _func ( ) _t1 = _timer ( ) return _t1 - _t0 return inner