parameters: (func)
return_statement: return echo_func
docstring: This decorator dumps out the arguments passed to a function before calling it
docstring_summary: This decorator dumps out the arguments passed to a function before calling it
docstring_tokens: This decorator dumps out the arguments passed to a function before calling it
function: def dump_args(func):
      "This decorator dumps out the arguments passed to a function before calling it"
      argnames = func.func_code.co_varnames[:func.func_code.co_argcount]
      fname = func.func_name
      def echo_func(*args,**kwargs):
          print fname, ":", ', '.join(
              '%s=%r' % entry
              for entry in zip(argnames,args) + kwargs.items())
          return func(*args, **kwargs)
      return echo_func
function_tokens: def dump_args ( func ) : argnames = func . func_code . co_varnames [ : func . func_code . co_argcount ] fname = func . func_name def echo_func ( * args , * * kwargs ) : print fname , ":" , ', ' . join ( '%s=%r' % entry for entry in zip ( argnames , args ) + kwargs . items ( ) ) return func ( * args , * * kwargs ) return echo_func