summaryrefslogtreecommitdiffstats
path: root/Demo/threads/fcmp.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-22 13:36:39 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-22 13:36:39 (GMT)
commitd42124cb0982a710584a7c837b36475236e6de94 (patch)
treef1468a2e88740c9cba7433be3e8552b823af53f8 /Demo/threads/fcmp.py
parent27f9b84684d7eb647ea08d9754e4bf055d426993 (diff)
downloadcpython-d42124cb0982a710584a7c837b36475236e6de94.zip
cpython-d42124cb0982a710584a7c837b36475236e6de94.tar.gz
cpython-d42124cb0982a710584a7c837b36475236e6de94.tar.bz2
Change co.detach() to co.back() call.
Diffstat (limited to 'Demo/threads/fcmp.py')
-rw-r--r--Demo/threads/fcmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/threads/fcmp.py b/Demo/threads/fcmp.py
index 37a2087..83ebe01 100644
--- a/Demo/threads/fcmp.py
+++ b/Demo/threads/fcmp.py
@@ -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()