mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Add default values for third-party stubs beginning with 'P' (#9957)
This commit is contained in:
@@ -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