mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-20 12:47:04 +08:00
Add default values for third-party stubs beginning with 'P' (#9957)
This commit is contained in:
1 parent
20f9b3685d
commit
6fd7e36e80
248 files changed
+2181
-2133
No files matched your search
@@ -1,3 +1,3 @@
|
||||
from datetime import datetime
|
||||
|
||||
def generate(dt: datetime, utc: bool = ..., accept_naive: bool = ..., microseconds: bool = ...) -> str: ...
|
||||
def generate(dt: datetime, utc: bool = True, accept_naive: bool = False, microseconds: bool = False) -> str: ...
|
||||
@@ -1,3 +1,3 @@
|
||||
from datetime import datetime
|
||||
|
||||
def parse(timestamp: str, utc: bool = ..., produce_naive: bool = ...) -> datetime: ...
|
||||
def parse(timestamp: str, utc: bool = False, produce_naive: bool = False) -> datetime: ...
|
||||
Reference in new issue
Block a user