From 8da53223d78501c0ca613192131801a4b37d6800 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Mon, 14 Dec 2020 08:34:18 +0000 Subject: [PATCH] Fix pkg_resources.require() (#4818) --- third_party/3/pkg_resources/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/3/pkg_resources/__init__.pyi b/third_party/3/pkg_resources/__init__.pyi index 32ed2f76d..f21240741 100644 --- a/third_party/3/pkg_resources/__init__.pyi +++ b/third_party/3/pkg_resources/__init__.pyi @@ -37,7 +37,7 @@ class WorkingSet: working_set: WorkingSet -def require(*requirements: Union[str, Sequence[str]]) -> Sequence[Distribution]: ... +def require(*requirements: _NestedStr) -> Sequence[Distribution]: ... def run_script(requires: str, script_name: str) -> None: ... def iter_entry_points(group: str, name: Optional[str] = ...) -> Generator[EntryPoint, None, None]: ... def add_activation_listener(callback: Callable[[Distribution], None]) -> None: ...