Gerald Britton wrote:
I'd like to know how (perhaps with the inspect module) I can tell if I am running in a context manager.
What's your use-case? ~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list
Gerald Britton wrote:
I'd like to know how (perhaps with the inspect module) I can tell if I am running in a context manager.
What's your use-case? ~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list