stdlib: add argument default values (#9501)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2023-01-18 09:37:34 +01:00
1 parent 6cb934291f
commit ddfaca3200
272 files changed
+2529 -2467

No files matched your search

+1 -1
View File
@@ -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