mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Big diff: Use new "|" union syntax (#5872)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from types import ModuleType
|
||||
from typing import Any, Dict, List, Mapping, Optional, Sequence
|
||||
from typing import Any, Dict, List, Mapping, Sequence
|
||||
|
||||
WINEXE: bool
|
||||
WINSERVICE: bool
|
||||
@@ -9,7 +9,7 @@ def get_executable() -> str: ...
|
||||
def is_forking(argv: Sequence[str]) -> bool: ...
|
||||
def freeze_support() -> None: ...
|
||||
def get_command_line(**kwds: Any) -> List[str]: ...
|
||||
def spawn_main(pipe_handle: int, parent_pid: Optional[int] = ..., tracker_fd: Optional[int] = ...) -> None: ...
|
||||
def spawn_main(pipe_handle: int, parent_pid: int | None = ..., tracker_fd: int | None = ...) -> None: ...
|
||||
|
||||
# undocumented
|
||||
def _main(fd: int) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user