def to_method(func):
@functools.wraps(func)<EOL>def wrapper(*args, **kwargs):<EOL><INDENT>"""<STR_LIT>"""<EOL>return func(*args[<NUM_LIT:1>:], **kwargs)<EOL><DEDENT>return wrapper<EOL>
Lift :func:`func` to a method; it will be called with the first argument
`self` ignored.

:param func: Any callable object