@@ -159,25 +159,25 @@ class Timestamp(datetime):
159159 @overload
160160 def __le__ (self , other : Index | npt .NDArray [np .datetime64 ]) -> np_ndarray_bool : ...
161161 @overload
162- def __le__ (self , other : TimestampSeries | Series [ Timestamp ] ) -> Series [bool ]: ...
162+ def __le__ (self , other : TimestampSeries ) -> Series [bool ]: ...
163163 @overload # type: ignore[override]
164164 def __lt__ (self , other : Timestamp | datetime | np .datetime64 ) -> bool : ... # type: ignore[misc]
165165 @overload
166166 def __lt__ (self , other : Index | npt .NDArray [np .datetime64 ]) -> np_ndarray_bool : ...
167167 @overload
168- def __lt__ (self , other : TimestampSeries | Series [ Timestamp ] ) -> Series [bool ]: ...
168+ def __lt__ (self , other : TimestampSeries ) -> Series [bool ]: ...
169169 @overload # type: ignore[override]
170170 def __ge__ (self , other : Timestamp | datetime | np .datetime64 ) -> bool : ... # type: ignore[misc]
171171 @overload
172172 def __ge__ (self , other : Index | npt .NDArray [np .datetime64 ]) -> np_ndarray_bool : ...
173173 @overload
174- def __ge__ (self , other : TimestampSeries | Series [ Timestamp ] ) -> Series [bool ]: ...
174+ def __ge__ (self , other : TimestampSeries ) -> Series [bool ]: ...
175175 @overload # type: ignore[override]
176176 def __gt__ (self , other : Timestamp | datetime | np .datetime64 ) -> bool : ... # type: ignore[misc]
177177 @overload
178178 def __gt__ (self , other : Index | npt .NDArray [np .datetime64 ]) -> np_ndarray_bool : ...
179179 @overload
180- def __gt__ (self , other : TimestampSeries | Series [ Timestamp ] ) -> Series [bool ]: ...
180+ def __gt__ (self , other : TimestampSeries ) -> Series [bool ]: ...
181181 # error: Signature of "__add__" incompatible with supertype "date"/"datetime"
182182 @overload # type: ignore[override]
183183 def __add__ (
@@ -188,9 +188,7 @@ class Timestamp(datetime):
188188 self : _DatetimeT , other : timedelta | np .timedelta64 | Tick
189189 ) -> _DatetimeT : ...
190190 @overload
191- def __add__ (
192- self , other : TimedeltaSeries | Series [Timedelta ]
193- ) -> TimestampSeries : ...
191+ def __add__ (self , other : TimedeltaSeries ) -> TimestampSeries : ...
194192 @overload
195193 def __add__ (self , other : TimedeltaIndex ) -> DatetimeIndex : ...
196194 @overload
@@ -219,15 +217,15 @@ class Timestamp(datetime):
219217 @overload
220218 def __eq__ (self , other : Timestamp | datetime | np .datetime64 ) -> bool : ... # type: ignore[misc] # pyright: ignore[reportOverlappingOverload]
221219 @overload
222- def __eq__ (self , other : TimestampSeries | Series [Timestamp ]) -> Series [bool ]: ... # type: ignore[misc]
220+ def __eq__ (self , other : TimestampSeries | Series [np . datetime64 ]) -> Series [bool ]: ... # type: ignore[misc]
223221 @overload
224222 def __eq__ (self , other : npt .NDArray [np .datetime64 ] | Index ) -> np_ndarray_bool : ... # type: ignore[misc]
225223 @overload
226224 def __eq__ (self , other : object ) -> Literal [False ]: ...
227225 @overload
228226 def __ne__ (self , other : Timestamp | datetime | np .datetime64 ) -> bool : ... # type: ignore[misc] # pyright: ignore[reportOverlappingOverload]
229227 @overload
230- def __ne__ (self , other : TimestampSeries | Series [Timestamp ]) -> Series [bool ]: ... # type: ignore[misc]
228+ def __ne__ (self , other : TimestampSeries | Series [np . datetime64 ]) -> Series [bool ]: ... # type: ignore[misc]
231229 @overload
232230 def __ne__ (self , other : npt .NDArray [np .datetime64 ] | Index ) -> np_ndarray_bool : ... # type: ignore[misc]
233231 @overload
0 commit comments