diff --git a/stdlib/2.7/calendar.pyi b/stdlib/2.7/calendar.pyi index cb458acb7..045e912ca 100644 --- a/stdlib/2.7/calendar.pyi +++ b/stdlib/2.7/calendar.pyi @@ -73,3 +73,14 @@ def setfirstweekday(firstweekday: int) -> None: ... def format(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ... def formatstring(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ... def timegm(tuple: Tuple[int, ...]) -> int: ... + +# Below constants are not in docs or __all__, but enough people have used them +# they are now effectively public. + +MONDAY = ... # type: int +TUESDAY = ... # type: int +WEDNESDAY = ... # type: int +THURSDAY = ... # type: int +FRIDAY = ... # type: int +SATURDAY = ... # type: int +SUNDAY = ... # type: int diff --git a/stdlib/3/calendar.pyi b/stdlib/3/calendar.pyi index 632ef2b92..3901170ac 100644 --- a/stdlib/3/calendar.pyi +++ b/stdlib/3/calendar.pyi @@ -73,3 +73,14 @@ def setfirstweekday(firstweekday: int) -> None: ... def format(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ... def formatstring(cols: int, colwidth: int = ..., spacing: int = ...) -> str: ... def timegm(tuple: Tuple[int, ...]) -> int: ... + +# Below constants are not in docs or __all__, but enough people have used them +# they are now effectively public. + +MONDAY = ... # type: int +TUESDAY = ... # type: int +WEDNESDAY = ... # type: int +THURSDAY = ... # type: int +FRIDAY = ... # type: int +SATURDAY = ... # type: int +SUNDAY = ... # type: int