Minor update to python function decorator post