cst�||��S(N(R(targstkwds(tfunc(s"/usr/lib64/python2.7/contextlib.pythelperRs(R(RR((Rs"/usr/lib64/python2.7/contextlib.pyR6scgs�tdtd�g}g}d}zcyIx=|D]5}|j}|j}|j|��|j|�q/W|VWntj�}nXWdxE|r�|j�}y||�r�d}nWq�tj�}q�Xq�W|d kr�|d|d|d�nXdS( s�Combine multiple context managers into a single nested context manager.
This function has been deprecated in favour of the multiple manager form of the with statement.
The one advantage of this function over the multiple manager form of the with statement is that argument unpacking allows it to be used with a variable number of context managers as follows:
with nested(*managers): do_something()
s>With-statements now directly support multiple context managersiNiii(NNN(NNN(NNN( RtDeprecationWarningR RRtappendRRtpop(tmanagerstexitstvarsRtmgrtexittenter((s"/usr/lib64/python2.7/contextlib.pyRXs0
cBs)eZdZd�Zd�Zd�ZRS(s2Context to automatically close something at the end of a block.
Code like this:
with closing(<module>.open(<arguments>)) as f: <block>
is equivalent to this:
f = <module>.open(<arguments>) try: <block> finally: f.close()