from typing_extensions import Self

class weekday:
    def __init__(self, weekday: int, n: int | None = None) -> None: ...
    def __call__(self, n: int) -> Self: ...
    def __eq__(self, other: object) -> bool: ...
    def __hash__(self) -> int: ...
    weekday: int
    n: int