Fix datetime stubs (#992)

This commit is contained in:
Semyon Proshev authored and Guido van Rossum committed 2017-03-13 09:12:46 -07:00
1 parent 0bf23b3727
commit 52da2a176b
2 files changed
+7 -10

No files matched your search

+1 -1
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: ...