Stdlib: correct many parameter names (#9815)

This commit is contained in:
Alex Waygood
2023-03-04 09:53:12 +00:00
committed by GitHub
parent 4b755c7034
commit 257e287fec
30 changed files with 382 additions and 353 deletions

View File

@@ -885,7 +885,10 @@ def times() -> times_result: ...
def waitpid(__pid: int, __options: int) -> tuple[int, int]: ...
if sys.platform == "win32":
def startfile(path: StrOrBytesPath, operation: str | None = None) -> None: ...
if sys.version_info >= (3, 8):
def startfile(path: StrOrBytesPath, operation: str | None = None) -> None: ...
else:
def startfile(filepath: StrOrBytesPath, operation: str | None = None) -> None: ...
else:
def spawnlp(mode: int, file: StrOrBytesPath, arg0: StrOrBytesPath, *args: StrOrBytesPath) -> int: ...