mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Initial checkin of asyncio package (== Tulip, == PEP 3156).
This commit is contained in:
parent
5b37f97ea5
commit
27b7c7ebf1
44 changed files with 16016 additions and 0 deletions
6
Lib/test/test_asyncio/echo2.py
Normal file
6
Lib/test/test_asyncio/echo2.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
import os
|
||||
|
||||
if __name__ == '__main__':
|
||||
buf = os.read(0, 1024)
|
||||
os.write(1, b'OUT:'+buf)
|
||||
os.write(2, b'ERR:'+buf)
|
Loading…
Add table
Add a link
Reference in a new issue