From 9b89423f020305dfe882176bd0b0cc3e3edce00a Mon Sep 17 00:00:00 2001 From: Shantanu Date: Sun, 24 May 2020 18:48:24 -0700 Subject: [PATCH] chardet: add default value (#4074) Co-authored-by: hauntsaninja <> --- third_party/2and3/chardet/universaldetector.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/2and3/chardet/universaldetector.pyi b/third_party/2and3/chardet/universaldetector.pyi index 2c3250cc2..a81a7f1bb 100644 --- a/third_party/2and3/chardet/universaldetector.pyi +++ b/third_party/2and3/chardet/universaldetector.pyi @@ -25,7 +25,7 @@ class UniversalDetector(object): lang_filter: int logger: Logger - def __init__(self, lang_filter: int) -> None: ... + def __init__(self, lang_filter: int = ...) -> None: ... def reset(self) -> None: ... def feed(self, byte_str: bytes) -> None: ... def close(self) -> _FinalResultType: ...