mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Fix stubtest for tqdm (#10560)
This commit is contained in:
@@ -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]]: ...
|
||||
|
||||
Reference in New Issue
Block a user