4
4
5
5
6
6
class BaseTransport :
7
- """Base ABC for transports."""
7
+ """Base class for transports."""
8
8
9
9
def __init__ (self , extra = None ):
10
10
if extra is None :
@@ -27,7 +27,7 @@ def close(self):
27
27
28
28
29
29
class ReadTransport (BaseTransport ):
30
- """ABC for read-only transports."""
30
+ """Interface for read-only transports."""
31
31
32
32
def pause_reading (self ):
33
33
"""Pause the receiving end.
@@ -47,7 +47,7 @@ def resume_reading(self):
47
47
48
48
49
49
class WriteTransport (BaseTransport ):
50
- """ABC for write-only transports."""
50
+ """Interface for write-only transports."""
51
51
52
52
def set_write_buffer_limits (self , high = None , low = None ):
53
53
"""Set the high- and low-water limits for write flow control.
@@ -115,7 +115,7 @@ def abort(self):
115
115
116
116
117
117
class Transport (ReadTransport , WriteTransport ):
118
- """ABC representing a bidirectional transport.
118
+ """Interface representing a bidirectional transport.
119
119
120
120
There may be several implementations, but typically, the user does
121
121
not implement new transports; rather, the platform provides some
@@ -137,7 +137,7 @@ class Transport(ReadTransport, WriteTransport):
137
137
138
138
139
139
class DatagramTransport (BaseTransport ):
140
- """ABC for datagram (UDP) transports."""
140
+ """Interface for datagram (UDP) transports."""
141
141
142
142
def sendto (self , data , addr = None ):
143
143
"""Send data to the transport.
0 commit comments