From 9204af42cc271690f57a4bc0d2af53201a796b51 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 30 Nov 2013 15:35:42 -0800 Subject: asyncio: Use Interface instead of ABC. Fixes issue 19726. --- Lib/asyncio/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/asyncio/events.py') diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index d429686b18a..c10faa75b06 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(), -- cgit v1.2.3