mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
month, day parameters to datetime.datetime are required (#1633)
This commit is contained in:
committed by
Jelle Zijlstra
parent
f48731ac7a
commit
000041761e
@@ -150,7 +150,7 @@ class datetime:
|
||||
max = ... # type: datetime
|
||||
resolution = ... # type: timedelta
|
||||
|
||||
def __init__(self, year: int, month: int = ..., day: int = ..., hour: int = ...,
|
||||
def __init__(self, year: int, month: int, day: int, hour: int = ...,
|
||||
minute: int = ..., second: int = ..., microsecond: int = ...,
|
||||
tzinfo: Optional[tzinfo] = ...) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user