mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Fix datetime stubs (#992)
This commit is contained in:
committed by
Guido van Rossum
parent
0bf23b3727
commit
52da2a176b
@@ -31,7 +31,7 @@ class date:
|
||||
max = ... # type: date
|
||||
resolution = ... # type: timedelta
|
||||
|
||||
def __init__(self, year: int, month: int = ..., day: int = ...) -> None: ...
|
||||
def __init__(self, year: int, month: int, day: int) -> None: ...
|
||||
|
||||
@classmethod
|
||||
def fromtimestamp(cls, t: float) -> date: ...
|
||||
|
||||
Reference in New Issue
Block a user