How can I tell if I am inside a context manager?
Ethan Furman
ethan at stoneleaf.us
Tue Feb 1 14:56:38 EST 2011
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~
More information about the Python-list
mailing list