Change co.detach() to co.back() call.
This commit is contained in:
parent
27f9b84684
commit
d42124cb09
|
@ -9,7 +9,7 @@ def fringe( co, list ):
|
|||
if type(x) is type([]):
|
||||
fringe(co, x)
|
||||
else:
|
||||
co.detach(x)
|
||||
co.back(x)
|
||||
|
||||
def printinorder( list ):
|
||||
co = Coroutine()
|
||||
|
|
Loading…
Reference in New Issue