mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
month, day parameters to datetime.datetime are required (#1633)
This commit is contained in:
1 parent
f48731ac7a
commit
000041761e
1 file changed
+1
-1
@@ -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