mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 14:46:55 +08:00
Add MONDAY, TUESDAY, ... constants to stdlib/calendar (#586)
These are undocumented but enough people seem to use them that they should be considered public
This commit is contained in:
committed by
Matthias Kramm
parent
9e71e54aa9
commit
9586411dad
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user