Update datetime.timetuple and datetime.utctimetuple (Py3), and datetime.__init__ (Py2) (#1648)

* Update return type for datetime.timetuple and datetime.utctimetuple

* Fix microsecond parameter in datetime
This commit is contained in:
Semyon Proshev authored and Jelle Zijlstra committed 2017-10-07 08:39:39 -07:00
1 parent 97b16a0b34
commit bc91a22e4e
2 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -141,10 +141,10 @@ class datetime(object):
resolution = ... # type: timedelta
def __init__(self, year: int, month: int, day: int, hour: int = ...,
minute: int = ..., second: int = ..., microseconds: int = ...,
minute: int = ..., second: int = ..., microsecond: int = ...,
tzinfo: tzinfo = ...) -> None: ...
def __new__(cls, year: int, month: int, day: int, hour: int = ...,
minute: int = ..., second: int = ..., microseconds: int = ...,
minute: int = ..., second: int = ..., microsecond: int = ...,
tzinfo: tzinfo = ...) -> datetime: ...
@property