diff options
author | Guido van Rossum <guido@python.org> | 2013-11-30 15:35:42 -0800 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-11-30 15:35:42 -0800 |
commit | 9204af42cc271690f57a4bc0d2af53201a796b51 (patch) | |
tree | 46f57604b46dc86236bc1f00ba034081c2d480fc /Lib/asyncio/transports.py | |
parent | 7c63c85f17ac5cef43d885748cf0b1893a8cd001 (diff) | |
download | cpython-git-9204af42cc271690f57a4bc0d2af53201a796b51.tar.gz |
asyncio: Use Interface instead of ABC. Fixes issue 19726.
Diffstat (limited to 'Lib/asyncio/transports.py')
-rw-r--r-- | Lib/asyncio/transports.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/asyncio/transports.py b/Lib/asyncio/transports.py index 98f92247dd..86b850e918 100644 --- a/Lib/asyncio/transports.py +++ b/Lib/asyncio/transports.py @@ -4,7 +4,7 @@ __all__ = ['ReadTransport', 'WriteTransport', 'Transport'] class BaseTransport: - """Base ABC for transports.""" + """Base class for transports.""" def __init__(self, extra=None): if extra is None: @@ -27,7 +27,7 @@ class BaseTransport: class ReadTransport(BaseTransport): - """ABC for read-only transports.""" + """Interface for read-only transports.""" def pause_reading(self): """Pause the receiving end. @@ -47,7 +47,7 @@ class ReadTransport(BaseTransport): class WriteTransport(BaseTransport): - """ABC for write-only transports.""" + """Interface for write-only transports.""" def set_write_buffer_limits(self, high=None, low=None): """Set the high- and low-water limits for write flow control. @@ -115,7 +115,7 @@ class WriteTransport(BaseTransport): class Transport(ReadTransport, WriteTransport): - """ABC representing a bidirectional transport. + """Interface representing a bidirectional transport. There may be several implementations, but typically, the user does not implement new transports; rather, the platform provides some @@ -137,7 +137,7 @@ class Transport(ReadTransport, WriteTransport): class DatagramTransport(BaseTransport): - """ABC for datagram (UDP) transports.""" + """Interface for datagram (UDP) transports.""" def sendto(self, data, addr=None): """Send data to the transport. |