Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-14 17:18:19 -07:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ class CroniterNotAlphaError(CroniterError): ...
class croniter(Iterator[Any]):
MONTHS_IN_YEAR: int
RANGES: Tuple[Tuple[int, int], ...]
RANGES: Tuple[tuple[int, int], ...]
DAYS: Tuple[int, ...]
ALPHACONV: Tuple[dict[str, Any], ...]
LOWMAP: Tuple[dict[int, Any], ...]
@@ -45,6 +45,6 @@ class croniter(Iterator[Any]):
def iter(self, ret_type: _RetType | None = ...) -> Iterator[Any]: ...
def is_leap(self, year: int) -> bool: ...
@classmethod
def expand(cls, expr_format: Text) -> Tuple[list[list[str]], dict[str, Any]]: ...
def expand(cls, expr_format: Text) -> tuple[list[list[str]], dict[str, Any]]: ...
@classmethod
def is_valid(cls, expression: Text) -> bool: ...