@@ -391,31 +391,31 @@ class datetime(date, Generic[_TzInfoT]):
391391 def tzname (self ) -> str | None : ...
392392 def dst (self ) -> timedelta | None : ...
393393 @overload # type: ignore[override]
394- def __le__ (
394+ def __le__ ( # type: ignore[overload-overlap]
395395 self : datetime [_TzInfo ] | datetime [_TzInfo | None ], value : datetime [_TzInfo ] | datetime [_TzInfo | None ], /
396396 ) -> bool : ... # type: ignore[misc]
397397 @overload
398398 def __le__ (self : datetime [None ] | datetime [_TzInfo | None ], value : datetime [None ] | datetime [_TzInfo | None ], / ) -> bool : ... # type: ignore[misc]
399399 @overload
400400 def __le__ (self : datetime [Any ], value : datetime [Any ], / ) -> NoReturn : ...
401401 @overload # type: ignore[override]
402- def __lt__ (
402+ def __lt__ ( # type: ignore[overload-overlap]
403403 self : datetime [_TzInfo ] | datetime [_TzInfo | None ], value : datetime [_TzInfo ] | datetime [_TzInfo | None ], /
404404 ) -> bool : ... # type: ignore[misc]
405405 @overload
406406 def __lt__ (self : datetime [None ] | datetime [_TzInfo | None ], value : datetime [None ] | datetime [_TzInfo | None ], / ) -> bool : ... # type: ignore[misc]
407407 @overload
408408 def __lt__ (self : datetime [Any ], value : datetime [Any ], / ) -> NoReturn : ...
409409 @overload # type: ignore[override]
410- def __ge__ (
410+ def __ge__ ( # type: ignore[overload-overlap]
411411 self : datetime [_TzInfo ] | datetime [_TzInfo | None ], value : datetime [_TzInfo ] | datetime [_TzInfo | None ], /
412412 ) -> bool : ... # type: ignore[misc]
413413 @overload
414414 def __ge__ (self : datetime [None ] | datetime [_TzInfo | None ], value : datetime [None ] | datetime [_TzInfo | None ], / ) -> bool : ... # type: ignore[misc]
415415 @overload
416416 def __ge__ (self : datetime [Any ], value : datetime [Any ], / ) -> NoReturn : ...
417417 @overload # type: ignore[override]
418- def __gt__ (
418+ def __gt__ ( # type: ignore[overload-overlap]
419419 self : datetime [_TzInfo ] | datetime [_TzInfo | None ], value : datetime [_TzInfo ] | datetime [_TzInfo | None ], /
420420 ) -> bool : ... # type: ignore[misc]
421421 @overload
@@ -425,11 +425,11 @@ class datetime(date, Generic[_TzInfoT]):
425425 def __eq__ (self , value : object , / ) -> bool : ...
426426 def __hash__ (self ) -> int : ...
427427 @overload # type: ignore[override]
428- def __sub__ (
428+ def __sub__ ( # type: ignore[overload-overlap]
429429 self : datetime [_TzInfo ] | datetime [_TzInfo | None ], value : datetime [_TzInfo ] | datetime [_TzInfo | None ], /
430430 ) -> timedelta : ...
431431 @overload
432- def __sub__ (
432+ def __sub__ ( # type: ignore[overload-overlap]
433433 self : datetime [None ] | datetime [_TzInfo | None ], value : datetime [None ] | datetime [_TzInfo | None ], /
434434 ) -> timedelta : ...
435435 @overload
0 commit comments