mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-10 23:29:12 +08:00
Use Final = ... instead of Final[Literal] (#11623)
This commit is contained in:
1 parent
6d45cf6e18
commit
adde7cc3ac
2 files changed
+5
-5
No files matched your search
@@ -36,7 +36,7 @@ class CroniterNotAlphaError(CroniterError): ...
|
||||
def datetime_to_timestamp(d: datetime.datetime) -> float: ...
|
||||
|
||||
class croniter(Iterator[Any]):
|
||||
MONTHS_IN_YEAR: Final[Literal[12]]
|
||||
MONTHS_IN_YEAR: Final = 12
|
||||
RANGES: Final[tuple[tuple[int, int], tuple[int, int], tuple[int, int], tuple[int, int], tuple[int, int], tuple[int, int]]]
|
||||
DAYS: Final[
|
||||
tuple[
|
||||
|
||||
Reference in new issue
Block a user