forked from python/typeshed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct parameter name for sock_recv of BaseEventLoop subclasses (pyt…
- Loading branch information
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import selectors | ||
from socket import socket | ||
|
||
from . import base_events | ||
|
||
__all__ = ("BaseSelectorEventLoop",) | ||
|
||
class BaseSelectorEventLoop(base_events.BaseEventLoop): | ||
def __init__(self, selector: selectors.BaseSelector | None = None) -> None: ... | ||
async def sock_recv(self, sock: socket, n: int) -> bytes: ... |