summaryrefslogtreecommitdiff
path: root/Lib/asyncio/events.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-11-30 15:35:42 -0800
committerGuido van Rossum <guido@python.org>2013-11-30 15:35:42 -0800
commit9204af42cc271690f57a4bc0d2af53201a796b51 (patch)
tree46f57604b46dc86236bc1f00ba034081c2d480fc /Lib/asyncio/events.py
parent7c63c85f17ac5cef43d885748cf0b1893a8cd001 (diff)
downloadcpython-git-9204af42cc271690f57a4bc0d2af53201a796b51.tar.gz
asyncio: Use Interface instead of ABC. Fixes issue 19726.
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r--Lib/asyncio/events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index d429686b18..c10faa75b0 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -234,7 +234,7 @@ class AbstractEventLoop:
protocol_factory should instantiate object with Protocol interface.
pipe is file-like object already switched to nonblocking.
Return pair (transport, protocol), where transport support
- ReadTransport ABC"""
+ ReadTransport interface."""
# The reason to accept file-like object instead of just file descriptor
# is: we need to own pipe and close it at transport finishing
# Can got complicated errors if pass f.fileno(),
@@ -247,7 +247,7 @@ class AbstractEventLoop:
protocol_factory should instantiate object with BaseProtocol interface.
Pipe is file-like object already switched to nonblocking.
Return pair (transport, protocol), where transport support
- WriteTransport ABC"""
+ WriteTransport interface."""
# The reason to accept file-like object instead of just file descriptor
# is: we need to own pipe and close it at transport finishing
# Can got complicated errors if pass f.fileno(),