mirror of
https://github.com/python/cpython.git
synced 2025-12-08 18:32:16 +00:00
Change co.detach() to co.back() call.
This commit is contained in:
parent
27f9b84684
commit
d42124cb09
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue