Remove bare incompletes (#11670)

This commit is contained in:
Sebastian Rittau
2024-03-31 03:35:57 +02:00
committed by GitHub
parent 33de88879f
commit 027115e624
10 changed files with 28 additions and 20 deletions

View File

@@ -42,7 +42,7 @@ def is_abstract_socket_namespace(address: str | bytes | None) -> bool: ...
abstract_sockets_supported: bool
def get_temp_dir() -> str: ...
def register_after_fork(obj: Incomplete, func: Callable[[Incomplete], object]) -> None: ...
def register_after_fork(obj, func: Callable[[Incomplete], object]) -> None: ...
class Finalize:
def __init__(
@@ -59,7 +59,7 @@ class Finalize:
_finalizer_registry: MutableMapping[Incomplete, Incomplete] = {},
sub_debug: Callable[..., object] = ...,
getpid: Callable[[], int] = ...,
) -> Incomplete: ...
): ...
def cancel(self) -> None: ...
def still_active(self) -> bool: ...