Skip to content

Commit 2e39f53

Browse files
author
bmartinn
committed
mypy
1 parent 7fe29a4 commit 2e39f53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/req/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ def install_given_reqs(
8686

8787

8888
def __safe_pool_map(
89-
func, # type: Callable
89+
func, # type: Callable[[Any], Any]
9090
iterable, # type: Iterable[Any]
9191
):
92-
# type: (...) -> Optional[List[None, InstallationResult, BaseException]]
92+
# type: (...) -> Optional[List[Any]]
9393
"""
9494
Safe call to Pool map, if Pool is not available return None
9595

0 commit comments

Comments
 (0)