summaryrefslogtreecommitdiff
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-29 13:33:28 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-29 13:33:28 +0100
commit3e48d77bcba1eb5bf569ab7699f8b54775254d0a (patch)
tree7dd2c7fa96b756dddaa828b184b6132a998ddbf8 /Lib/asyncio
parent52fa138aac5d9c165eb6aaf64442557e522002ce (diff)
parent54a231d5397bda24257f253eb1aaabf1b741a0b5 (diff)
downloadcpython-git-3e48d77bcba1eb5bf569ab7699f8b54775254d0a.tar.gz
Merge 3.4 (asyncio doc)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/protocols.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/asyncio/protocols.py b/Lib/asyncio/protocols.py
index 52fc25c2ee..80fcac9a82 100644
--- a/Lib/asyncio/protocols.py
+++ b/Lib/asyncio/protocols.py
@@ -78,6 +78,11 @@ class Protocol(BaseProtocol):
State machine of calls:
start -> CM [-> DR*] [-> ER?] -> CL -> end
+
+ * CM: connection_made()
+ * DR: data_received()
+ * ER: eof_received()
+ * CL: connection_lost()
"""
def data_received(self, data):