Change co.detach() to co.back() call.

This commit is contained in:
Guido van Rossum 2001-03-22 13:36:39 +00:00
parent 27f9b84684
commit d42124cb09

View file

@ -9,7 +9,7 @@ def fringe( co, list ):
if type(x) is type([]): if type(x) is type([]):
fringe(co, x) fringe(co, x)
else: else:
co.detach(x) co.back(x)
def printinorder( list ): def printinorder( list ):
co = Coroutine() co = Coroutine()