[Python-ideas] with *context_managers:
ram.rachum at gmail.com
Sun Apr 1 22:25:41 CEST 2012
I'd like to be able to do this:
pass # Some suite.
This is useful when you have an unknown number of context managers that you
want to use. I currently use `contextlib.nested`, but I'd like the *star
syntax much better.
What do you think?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas