mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-12 16:10:12 +08:00
Add defaults for third-party stubs A-D (#9952)
This commit is contained in:
1 parent
ce5f02fcdc
commit
b9fedd20ce
186 files changed
+1829
-1760
No files matched your search
@@ -18,4 +18,4 @@ class _LangModelType(TypedDict): # noqa: Y049
|
||||
language: str
|
||||
|
||||
def detect(byte_str: bytes | bytearray) -> _FinalResultType: ...
|
||||
def detect_all(byte_str: bytes | bytearray, ignore_threshold: bool = ...) -> list[_IntermediateResultType]: ...
|
||||
def detect_all(byte_str: bytes | bytearray, ignore_threshold: bool = False) -> list[_IntermediateResultType]: ...
|
||||
@@ -23,7 +23,7 @@ class UniversalDetector:
|
||||
done: bool
|
||||
lang_filter: int
|
||||
logger: Logger
|
||||
def __init__(self, lang_filter: int = ...) -> None: ...
|
||||
def __init__(self, lang_filter: int = 31) -> None: ...
|
||||
def reset(self) -> None: ...
|
||||
def feed(self, byte_str: bytes) -> None: ...
|
||||
def close(self) -> _FinalResultType: ...
|
||||
Reference in new issue
Block a user