mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-06 09:57:41 +08:00
Reduce use of Any in equality methods (#7081)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user