mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
stdlib: fix signatures for some functions with unrepresentable defaults (#11000)
Found with python/mypy#16433 Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -970,9 +970,9 @@ else:
|
||||
def WTERMSIG(status: int) -> int: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def posix_spawn(
|
||||
path: StrOrBytesPath,
|
||||
argv: _ExecVArgs,
|
||||
env: _ExecEnv,
|
||||
__path: StrOrBytesPath,
|
||||
__argv: _ExecVArgs,
|
||||
__env: _ExecEnv,
|
||||
*,
|
||||
file_actions: Sequence[tuple[Any, ...]] | None = ...,
|
||||
setpgroup: int | None = ...,
|
||||
@@ -983,9 +983,9 @@ else:
|
||||
scheduler: tuple[Any, sched_param] | None = ...,
|
||||
) -> int: ...
|
||||
def posix_spawnp(
|
||||
path: StrOrBytesPath,
|
||||
argv: _ExecVArgs,
|
||||
env: _ExecEnv,
|
||||
__path: StrOrBytesPath,
|
||||
__argv: _ExecVArgs,
|
||||
__env: _ExecEnv,
|
||||
*,
|
||||
file_actions: Sequence[tuple[Any, ...]] | None = ...,
|
||||
setpgroup: int | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user