config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/contextlib.pyo

³ò
h”Rc@sidZddkZdddgZdefd„ƒYZd„Zed	„ƒZdefd
„ƒYZdS(s4Utilities for with-statement contexts.  See PEP 343.iÿÿÿÿNtcontextmanagertnestedtclosingtGeneratorContextManagercBs)eZdZd„Zd„Zd„ZRS(s%Helper for @contextmanager decorator.cCs
||_dS(N(tgen(tselfR((s&/usr/local/lib/python2.5/contextlib.pyt__init__
scCs7y|iiƒSWntj
otdƒ‚nXdS(Nsgenerator didn't yield(Rtnextt
StopIterationtRuntimeError(R((s&/usr/local/lib/python2.5/contextlib.pyt	__enter__
scCsÒ|djo;y|iiƒWntj
odSqÎXtdƒ‚n‡|djo
|ƒ}ny&|ii|||ƒtdƒ‚WnCtj
o}||j	Sn&tiƒd|j	o‚qÎnXdS(Nsgenerator didn't stops#generator didn't stop after throw()i(tNoneRRRR	tthrowtsystexc_info(Rttypetvaluet	tracebacktexc((s&/usr/local/lib/python2.5/contextlib.pyt__exit__s 
	

(t__name__t
__module__t__doc__RR
R(((s&/usr/local/lib/python2.5/contextlib.pyRs		csE‡fd†}y(ˆi|_ˆi|_ˆi|_WnnX|S(sÜ@contextmanager decorator.

    Typical usage:

        @contextmanager
        def some_generator(<arguments>):
            <setup>
            try:
                yield <value>
            finally:
                <cleanup>

    This makes this:

        with some_generator(<arguments>) as <variable>:
            <body>

    equivalent to this:

        <setup>
        try:
            <variable> = <value>
            <body>
        finally:
            <cleanup>

    cstˆ||ŽƒS(N(R(targstkwds(tfunc(s&/usr/local/lib/python2.5/contextlib.pythelperPs(RRt__dict__(RR((Rs&/usr/local/lib/python2.5/contextlib.pyR4scgsòg}g}d}zcyIx=|D]5}|i}|i}|i|ƒƒ|i|ƒqW|VWntiƒ}nXWdxI|oA|iƒ}y||Œo
d}nWq{tiƒ}q{Xq{W|djo|d|d|d‚nXdS(sSupport multiple context managers in a single with-statement.

    Code like this:

        with nested(A, B, C) as (X, Y, Z):
            <body>

    is equivalent to this:

        with A as X:
            with B as Y:
                with C as Z:
                    <body>

    Niii(NNN(NNN(NNN(RRR
tappendR
Rtpop(tmanagerstexitstvarsRtmgrtexittenter((s&/usr/local/lib/python2.5/contextlib.pyR[s0			

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()

    cCs
||_dS(N(tthing(RR$((s&/usr/local/lib/python2.5/contextlib.pyR™scCs|iS(N(R$(R((s&/usr/local/lib/python2.5/contextlib.pyR
›scGs|iiƒdS(N(R$tclose(RR((s&/usr/local/lib/python2.5/contextlib.pyRs(RRRRR
R(((s&/usr/local/lib/python2.5/contextlib.pyRˆs		(RR
t__all__tobjectRRRR(((s&/usr/local/lib/python2.5/contextlib.pys<module>s-	'-

Man Man