On Sun, Mar 14, 2021 at 6:34 PM Peter Stalman <sarke...@gmail.com> wrote:
> Would it make sense to have both options? > 6) Multiple decorators on the same function? One problem with the wrapper pattern is that if you have multiple decorators then wouldn't that end up calling the function multiple times? Not so with the before/after. It really depends on the intended behavior. How does Python and others handle this? Thanks, Peter