Fix datetime.fromtimestamp (#759)

This commit is contained in:
KOSAKA Masayuki authored and Guido van Rossum committed 2016-12-13 14:55:06 -08:00
1 parent 918dab66d0
commit 3cae92253b
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ class datetime:
def tzinfo(self) -> Optional[_tzinfo]: ...
@classmethod
def fromtimestamp(cls, t: float, tz: Optional[timezone] = ...) -> datetime: ...
def fromtimestamp(cls, t: float, tz: Optional[_tzinfo] = ...) -> datetime: ...
@classmethod
def utcfromtimestamp(cls, t: float) -> datetime: ...
@classmethod