mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)
This change aligns the documentation at https://docs.python.org/3/library/asyncio-eventloop.htmlGH-asyncio.Server
with the actual implementation
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit da80d6b2f3
)
Co-authored-by: Stefan Zabka <zabkaste@informatik.hu-berlin.de>
This commit is contained in:
parent
f8c3697aca
commit
20e88f78a3
2 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,7 @@ from . import trsock
|
||||||
from .log import logger
|
from .log import logger
|
||||||
|
|
||||||
|
|
||||||
__all__ = 'BaseEventLoop',
|
__all__ = 'BaseEventLoop','Server',
|
||||||
|
|
||||||
|
|
||||||
# Minimum number of _scheduled timer handles before cleanup of
|
# Minimum number of _scheduled timer handles before cleanup of
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Expose :class:`asyncio.base_events.Server` as :class:`asyncio.Server`. Patch
|
||||||
|
by Stefan Zabka.
|
Loading…
Add table
Add a link
Reference in a new issue