mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
15
stdlib/3/calendar.pyi
Normal file
15
stdlib/3/calendar.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
# Stubs for calendar
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import overload, Tuple
|
||||
|
||||
# TODO actually, any number of items larger than 5 is fine
|
||||
@overload
|
||||
def timegm(t: Tuple[int, int, int, int, int, int]) -> int: ...
|
||||
@overload
|
||||
def timegm(t: Tuple[int, int, int, int, int, int, int]) -> int: ...
|
||||
@overload
|
||||
def timegm(t: Tuple[int, int, int, int, int, int, int, int]) -> int: ...
|
||||
@overload
|
||||
def timegm(t: Tuple[int, int, int, int, int, int, int, int, int]) -> int: ...
|
||||
Reference in New Issue
Block a user