more comments in examples

This commit is contained in:
meejah
2015-03-18 16:30:31 -06:00
parent b16134e08f
commit b92afcb906
2 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
from __future__ import print_function
import txaio.aio as txaio
# note: all the code below is *identical* to the use_asyncio.py
# example, except for the import line above and event-loop running
def cb(value):
print("Callback:", value)

View File

@@ -1,5 +1,9 @@
from __future__ import print_function
import txaio.tx as txaio
# note: all the code below is *identical* to the use_asyncio.py
# example, except for the import line above and event-loop running
def cb(value):
print("Callback:", value)