asyncio: Use Interface instead of ABC. Fixes issue 19726.

This commit is contained in:
Guido van Rossum 2013-11-30 15:35:42 -08:00
parent 7c63c85f17
commit 9204af42cc
3 changed files with 11 additions and 11 deletions

View file

@ -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(),