diff options
Diffstat (limited to 'Demo/threads/squasher.py')
-rw-r--r-- | Demo/threads/squasher.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/threads/squasher.py b/Demo/threads/squasher.py index 0d59cb8..35b1b1d 100644 --- a/Demo/threads/squasher.py +++ b/Demo/threads/squasher.py @@ -89,7 +89,7 @@ def assembler(): def putline(): while 1: line = co.tran(coassembler) - print line + print(line) import string co = Coroutine() @@ -100,6 +100,6 @@ codisassembler = co.create(disassembler) cosquasher = co.create(squasher) co.tran(coputline) -print 'done' +print('done') # end of example |