File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,10 +123,10 @@ class object:
123123 def __delattr__ (self , name : str , / ) -> None : ...
124124 # Using 'Any' rather than 'object' for the argument because
125125 # classes may want to restrict the type.
126- # Using 'object ' rather than 'bool' for the return type because
126+ # Using 'Any | bool ' rather than 'bool' for the return type because
127127 # classes may want to return a wider type (e.g. numpy array)
128- def __eq__ (self , value : Any , / ) -> object : ... # noqa: Y032
129- def __ne__ (self , value : Any , / ) -> object : ... # noqa: Y032
128+ def __eq__ (self , value : Any , / ) -> Any | bool : ... # noqa: Y032
129+ def __ne__ (self , value : Any , / ) -> Any | bool : ... # noqa: Y032
130130 def __str__ (self ) -> str : ... # noqa: Y029
131131 def __repr__ (self ) -> str : ... # noqa: Y029
132132 def __hash__ (self ) -> int : ...
You can’t perform that action at this time.
0 commit comments