def describe_func(obj, method=False):
    """ Describe the function object passed as argument.
	If this is a method object, the second argument will
	be passed as True """
    import inspect
    o = []
    try:
        arginfo = inspect.getargspec(obj)
    except TypeError:
        return
    args = arginfo[0]
    argsvar = arginfo[1]
    if args:
        if args[0] == 'self':
            args.pop(0)
        if arginfo[3]:
            dl = len(arginfo[3])
            al = len(args)
            defargs = args[al - dl:al]
            o = list(zip(defargs, arginfo[3]))
    return o
