Probably worth putting a link in to functools.wraps for advanced users here: http://docs.python.org/2/library/functools.html#functools.wraps