Add default values for third-party stubs beginning with 'P' (#9957)

This commit is contained in:
Alex Waygood
2023-03-27 18:58:53 +01:00
committed by GitHub
parent 20f9b3685d
commit 6fd7e36e80
248 changed files with 2181 additions and 2133 deletions

View File

@@ -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: ...

View File

@@ -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: ...