def getargspec(*args, **kwargs): ret = list(_originalgetargspec(*args, **kwargs)) ret.append([]) ret.append({}) return ret