diff --git a/third_party/2and3/werkzeug/utils.pyi b/third_party/2and3/werkzeug/utils.pyi index 18ec6622d..1f84d83e8 100644 --- a/third_party/2and3/werkzeug/utils.pyi +++ b/third_party/2and3/werkzeug/utils.pyi @@ -1,4 +1,4 @@ -from typing import Any, Optional, Type, TypeVar, overload +from typing import Any, Optional, Text, Type, TypeVar, overload from werkzeug._internal import _DictAccessorProperty from werkzeug.wrappers import Response @@ -29,7 +29,7 @@ xhtml: Any def get_content_type(mimetype, charset): ... def format_string(string, context): ... -def secure_filename(filename): ... +def secure_filename(filename: Text) -> Text: ... def escape(s, quote: Optional[Any] = ...): ... def unescape(s): ...