A decorator is actually a purpose that usually takes a function as an argument and returns a closure. The closure is actually a set of internal functions and free variables. DughDugh 17111 silver badge33 bronze badges one This really is exactly what I wanted. Significantly nicer to work with than https://conscientgurugram.in/