Skip to content

Commit da80d6b

Browse files
vringarasvetlov
andauthored
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>
1 parent c8a47e7 commit da80d6b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/asyncio/base_events.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from .log import logger
5050

5151

52-
__all__ = 'BaseEventLoop',
52+
__all__ = 'BaseEventLoop','Server',
5353

5454

5555
# Minimum number of _scheduled timer handles before cleanup of
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Expose :class:`asyncio.base_events.Server` as :class:`asyncio.Server`. Patch
2+
by Stefan Zabka.

0 commit comments

Comments
 (0)