mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Update calendar.pyi timegm to accept arbitrary length tuples
timegm takes struct_time objects, which are NamedTuples that have 9 elements by default That would not take Tuple[Int], so typeshed would report errors
This commit is contained in:
1 parent
25a45d6daf
commit
c8f0669ee4
2 files changed
+2
-2
No files matched your search
@@ -72,4 +72,4 @@ c = ... # type: TextCalendar
|
||||
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: ...
|
||||
def timegm(tuple: Tuple[int, ...]) -> int: ...
|
||||
Reference in new issue
Block a user