Skip to content

Commit

Permalink
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760
Browse files Browse the repository at this point in the history
)

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 <[email protected]>
(cherry picked from commit da80d6b)

Co-authored-by: Stefan Zabka <[email protected]>
  • Loading branch information
miss-islington and vringar authored Mar 8, 2022
1 parent f8c3697 commit 20e88f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/asyncio/base_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from .log import logger


__all__ = 'BaseEventLoop',
__all__ = 'BaseEventLoop','Server',


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

0 comments on commit 20e88f7

Please sign in to comment.