예제 #1
0
파일: test.py 프로젝트: KeyserSosa/swirl
def square(a):
    print "running square"
    yield swirl.return_(a ** 2)
    print "this line should never be executed (square)"
예제 #2
0
파일: test.py 프로젝트: KeyserSosa/swirl
def second(a):
    print "running second"
    yield swirl.return_(square(a))
    print "this line should never be executed (second)"