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