What does functools.wraps do?
In a comment on this answer to another question, someone said that they weren’t sure what functools.wraps was doing. So, I’m asking this question so that there will be a record of it on StackOverflow for future reference: what does functools.wraps do, exactly? 7 s 7 When you use a decorator, you’re replacing one function … Read more