File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ def __repr__(self) -> str:
292292 def __hash__ (self ) -> int :
293293 return hash ((self .__class__ .__name__ , str (self )))
294294
295- def __eq__ (self , other : Any ) -> bool :
295+ def __eq__ (self , other : object ) -> bool :
296296 if not isinstance (other , Marker ):
297297 return NotImplemented
298298
Original file line number Diff line number Diff line change 33# for complete details.
44from __future__ import annotations
55
6- from typing import Any , Iterator
6+ from typing import Iterator
77
88from ._parser import parse_requirement as _parse_requirement
99from ._tokenizer import ParserSyntaxError
@@ -78,7 +78,7 @@ def __hash__(self) -> int:
7878 )
7979 )
8080
81- def __eq__ (self , other : Any ) -> bool :
81+ def __eq__ (self , other : object ) -> bool :
8282 if not isinstance (other , Requirement ):
8383 return NotImplemented
8484
You can’t perform that action at this time.
0 commit comments