Reduce use of Any in equality methods (#7081)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Alex WaygoodandAkuli authored and GitHub committed 2022-01-30 00:59:00 +02:00
1 parent 9aeecb4c35
commit 45a2dad83c
21 files changed
+38 -37

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ class Requirement:
@staticmethod
def parse(s: str | Iterable[str]) -> Requirement: ...
def __contains__(self, item: Distribution | str | tuple[str, ...]) -> bool: ...
def __eq__(self, other_requirement: Any) -> bool: ...
def __eq__(self, other_requirement: object) -> bool: ...
def load_entry_point(dist: _EPDistType, group: str, name: str) -> Any: ...
def get_entry_info(dist: _EPDistType, group: str, name: str) -> EntryPoint | None: ...