From 7836c47286f0800ee0c1eff0616b36c28941642d Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Fri, 11 Aug 2023 12:52:01 +0100 Subject: [PATCH] Fix stubtest for `tqdm` (#10560) --- stubs/tqdm/tqdm/utils.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/tqdm/tqdm/utils.pyi b/stubs/tqdm/tqdm/utils.pyi index 4f55afc5e..f18408e60 100644 --- a/stubs/tqdm/tqdm/utils.pyi +++ b/stubs/tqdm/tqdm/utils.pyi @@ -1,5 +1,5 @@ from _typeshed import Incomplete -from collections.abc import Callable +from collections.abc import Callable, Mapping from re import Pattern from typing import Protocol, TypeVar from typing_extensions import ParamSpec @@ -54,5 +54,5 @@ class CallbackIOWrapper(ObjectWrapper): def disp_len(data: str) -> int: ... def disp_trim(data: str, length: int) -> str: ... def envwrap( - prefix: str, case_sensitive: bool = False, literal_eval: bool = False, is_method: bool = False + prefix: str, types: Mapping[str, Callable[[Incomplete], Incomplete]] | None = None, is_method: bool = False ) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]: ...