From 7e6d716f26153dd344c2779e4b13b3216ea8f235 Mon Sep 17 00:00:00 2001 From: Serene <33189705+Serene-Arc@users.noreply.github.com> Date: Sat, 26 Nov 2022 21:30:42 +1000 Subject: [PATCH] Update typing Co-authored-by: Benedikt --- beets/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/util/__init__.py b/beets/util/__init__.py index a05512dd6..70f492e6c 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -1056,7 +1056,7 @@ def asciify_path(path: AnyStr, sep_replace: str) -> str: return os.sep.join(path_components) -def par_map(transform: Callable, items: Sequence): +def par_map(transform: Callable, items: Iterable): """Apply the function `transform` to all the elements in the iterable `items`, like `map(transform, items)` but with no return value.