Understanding decorators [Python tutorial]