diff options
author | Guido van Rossum <guido@python.org> | 2013-12-20 14:37:12 -0800 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-12-20 14:37:12 -0800 |
commit | 311f9dfb1c59db951a231914eb14293565f00ed5 (patch) | |
tree | a78946779c28d71021eaca69aa836f7394204a49 | |
parent | 473ddf8bdcb745714ce89d11a89a4696eca6b86a (diff) | |
download | trollius-311f9dfb1c59db951a231914eb14293565f00ed5.tar.gz |
Export all abstract protocol and transport classes. CPython issue #20029.
-rw-r--r-- | asyncio/protocols.py | 3 | ||||
-rw-r--r-- | asyncio/transports.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/asyncio/protocols.py b/asyncio/protocols.py index 1b8870c..3c4f3f4 100644 --- a/asyncio/protocols.py +++ b/asyncio/protocols.py @@ -1,6 +1,7 @@ """Abstract Protocol class.""" -__all__ = ['Protocol', 'DatagramProtocol'] +__all__ = ['BaseProtocol', 'Protocol', 'DatagramProtocol', + 'SubprocessProtocol'] class BaseProtocol: diff --git a/asyncio/transports.py b/asyncio/transports.py index c2feb93..2d2469e 100644 --- a/asyncio/transports.py +++ b/asyncio/transports.py @@ -4,7 +4,9 @@ import sys PY34 = sys.version_info >= (3, 4) -__all__ = ['ReadTransport', 'WriteTransport', 'Transport'] +__all__ = ['BaseTransport', 'ReadTransport', 'WriteTransport', + 'Transport', 'DatagramTransport', 'SubprocessTransport', + ] class BaseTransport: |