croniter: fix typo (#14337)

Had to stare at this stub for a while to notice the bug...
This commit is contained in:
Jelle Zijlstra
2025-06-25 17:18:10 -07:00
committed by GitHub
parent 7aad255435
commit 1511911f46
+1 -1
View File
@@ -188,7 +188,7 @@ class croniter(Generic[_R_co]):
@overload
def get_next(
self, ret_type: type[_R2_co], start_time: float | datetime.datetime | None = None, update_current: bool = True
) -> _R_co: ...
) -> _R2_co: ...
@overload
def get_next(
self, ret_type: None = None, start_time: float | datetime.datetime | None = None, update_current: bool = True