mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-13 03:21:07 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user