mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Add `asyncio.windows_utils.__all__ (#7278)
This commit is contained in:
@@ -6,6 +6,11 @@ from typing import Callable, Protocol
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.platform == "win32":
|
||||
if sys.version_info >= (3, 7):
|
||||
__all__ = ("pipe", "Popen", "PIPE", "PipeHandle")
|
||||
else:
|
||||
__all__ = ["socketpair", "pipe", "Popen", "PIPE", "PipeHandle"]
|
||||
|
||||
class _WarnFunction(Protocol):
|
||||
def __call__(
|
||||
self, message: str, category: type[Warning] = ..., stacklevel: int = ..., source: PipeHandle = ...
|
||||
|
||||
Reference in New Issue
Block a user