Third-party stubs: audit more Callable[<parameters>, Any] annotations (#8233)

This commit is contained in:
Alex Waygood
2022-07-04 09:29:47 +01:00
committed by GitHub
parent fb478f0b58
commit 8ef6602e25
12 changed files with 17 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ from typing import Any, TypeVar
from typing_extensions import TypeAlias, TypedDict
_T = TypeVar("_T")
_Callback: TypeAlias = Callable[[str, _Result], Any]
_Callback: TypeAlias = Callable[[str, _Result], object]
class _Result(TypedDict):
nmap: _ResultNmap