mirror of
https://github.com/python/cpython
synced 2024-09-19 14:51:29 +00:00
Issue #23046: Expose the BaseEventLoop class in the asyncio namespace
This commit is contained in:
parent
63b55580fb
commit
8c1a4a2326
|
@ -18,6 +18,7 @@
|
|||
import _overlapped # Will also be exported.
|
||||
|
||||
# This relies on each of the submodules having an __all__ variable.
|
||||
from .base_events import *
|
||||
from .coroutines import *
|
||||
from .events import *
|
||||
from .futures import *
|
||||
|
@ -29,7 +30,8 @@
|
|||
from .tasks import *
|
||||
from .transports import *
|
||||
|
||||
__all__ = (coroutines.__all__ +
|
||||
__all__ = (base_events.__all__ +
|
||||
coroutines.__all__ +
|
||||
events.__all__ +
|
||||
futures.__all__ +
|
||||
locks.__all__ +
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
from .log import logger
|
||||
|
||||
|
||||
__all__ = ['BaseEventLoop', 'Server']
|
||||
__all__ = ['BaseEventLoop']
|
||||
|
||||
|
||||
# Argument for default thread pool executor creation.
|
||||
|
|
Loading…
Reference in a new issue