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.html#asyncio.Server
with the actual implementation

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
This commit is contained in:
Stefan Zabka 2022-03-08 22:07:33 +01:00 committed by GitHub
parent c8a47e76a3
commit da80d6b2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ from . import trsock
from .log import logger
__all__ = 'BaseEventLoop',
__all__ = 'BaseEventLoop','Server',
# Minimum number of _scheduled timer handles before cleanup of

View File

@ -0,0 +1,2 @@
Expose :class:`asyncio.base_events.Server` as :class:`asyncio.Server`. Patch
by Stefan Zabka.