mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 17:47:29 +08:00
Add a few missing things on Windows, py310+ (#10817)
This commit is contained in:
1 parent
3eb9ff7f65
commit
efa7a51d09
6 files changed
+13
-14
No files matched your search
@@ -60,6 +60,10 @@ if sys.platform == "win32":
|
||||
async def connect_pipe(self, address: str) -> windows_utils.PipeHandle: ...
|
||||
def wait_for_handle(self, handle: windows_utils.PipeHandle, timeout: int | None = None) -> bool: ...
|
||||
def close(self) -> None: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
def recvfrom_into(
|
||||
self, conn: socket.socket, buf: WriteableBuffer, flags: int = 0
|
||||
) -> tuple[int, socket._RetAddress]: ...
|
||||
SelectorEventLoop = _WindowsSelectorEventLoop
|
||||
|
||||
class WindowsSelectorEventLoopPolicy(events.BaseDefaultEventLoopPolicy):
|
||||
|
||||
Reference in new issue
Block a user