Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 23:39:54 +07:00
parent adcc6c8de0
commit 2310c15d56

View File

@@ -1,18 +1,10 @@
import ctypes
from re import Pattern
from typing import Any, BinaryIO, Callable, Generator, Iterable, Iterator
from typing import BinaryIO, Callable, Iterable
WINDOWS_RESERVED: Pattern
def clean_filename(name: str, replacement: str = ...) -> str: ...
def listdir(dir: str, recursive: bool = ...) -> Iterable[str]: ...
def walksymlinks(top: str, topdown: bool = ..., onerror: Callable[[OSError], Any] | None = ...) -> Iterator[tuple[str, list[str], list[str]]]: ...
def tempdir() -> Generator[str, None, None]: ...
def zip_dir(path: str, stream: str | BinaryIO, include_dir: bool = ..., fnct_sort: Callable | None = ...) -> None: ...
getppid: Callable[[], int]
is_running_as_nt_service: Callable[[], bool]
_TH32CS_SNAPPROCESS: int
class _PROCESSENTRY32(ctypes.Structure):
_fields_: list[tuple[str, Any]]