def get_args(func, skip=<NUM_LIT:0>):
code = getattr(func, '<STR_LIT>', None)<EOL>if code is None:<EOL><INDENT>code = func.__call__.__code__<EOL><DEDENT>return code.co_varnames[skip:code.co_argcount]<EOL>
Hackish way to get the arguments of a function

Parameters
----------
func : callable
    Function to get the arguments from
skip : int, optional
    Arguments to skip, defaults to 0 set it to 1 to skip the
    ``self`` argument of a method.

Returns
-------
tuple
    Function's arguments