Clean up a few Python 2 remnants (#8452)

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

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.