Clean up a few Python 2 remnants (#8452)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-07-31 19:19:18 +01:00
1 parent ca633bbde8
commit 4414246a15
5 files changed
+3 -24

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ class croniter(Iterator[Any]):
day_or: bool = ...,
max_years_between_matches: int | None = ...,
is_prev: bool = ...,
hash_id: str | bytes | None = ..., # unicode not accepted on python 2
hash_id: str | bytes | None = ...,
) -> None: ...
# Most return value depend on ret_type, which can be passed in both as a method argument and as
# a constructor argument.