Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d42124c

Browse files
committed
Change co.detach() to co.back() call.
1 parent 27f9b84 commit d42124c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Demo/threads/fcmp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def fringe( co, list ):
99
if type(x) is type([]):
1010
fringe(co, x)
1111
else:
12-
co.detach(x)
12+
co.back(x)
1313

1414
def printinorder( list ):
1515
co = Coroutine()

0 commit comments

Comments
 (0)