mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -261,7 +261,7 @@ class datetime(date):
|
||||
def utcfromtimestamp(cls: type[Self], __t: float) -> Self: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
@classmethod
|
||||
def now(cls: type[Self], tz: _TzInfo | None = ...) -> Self: ...
|
||||
def now(cls: type[Self], tz: _TzInfo | None = None) -> Self: ...
|
||||
else:
|
||||
@overload
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user