is there enough information?

castironpi at gmail.com castironpi at gmail.com
Mon Feb 25 22:30:08 EST 2008


Specify


def thloop( th ):
    while th.cont:
        with th.step[2]:
            th.ret= th.cmd+ 1

def acq( th ):
    with th.step[1]:
        th.cmd= 100
    with th.step[3]:
        ret1= th.ret
    th.step.reset()
    assert ret1== 101

Is it enough?



More information about the Python-list mailing list