mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
asyncio: Export all abstract protocol and transport classes. Fixes issue #20029.
This commit is contained in:
parent
0a1021661f
commit
ac97bf4fd9
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Abstract Protocol class."""
|
||||
|
||||
__all__ = ['Protocol', 'DatagramProtocol']
|
||||
__all__ = ['BaseProtocol', 'Protocol', 'DatagramProtocol',
|
||||
'SubprocessProtocol']
|
||||
|
||||
|
||||
class BaseProtocol:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue