Try this prompt (with chatGPT): "Write a code that take a context manger and turn it to decorator" And then compre it with the real life example I've wrote few months back: Tell me if you find any in either.