Fix datetime stubs (#992)

This commit is contained in:
Semyon Proshev
2017-03-13 20:12:46 +04:00
committed by Guido van Rossum
parent 0bf23b3727
commit 52da2a176b
2 changed files with 7 additions and 10 deletions

View File

@@ -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: ...