stdlib: Add defaults for positional-only parameters (#9655)

This commit is contained in:
Alex Waygood
2023-02-01 21:44:08 +00:00
committed by GitHub
parent 35172c7aab
commit 1d7dda7fa1
30 changed files with 159 additions and 155 deletions

View File

@@ -10,7 +10,9 @@ if sys.version_info >= (3, 8):
def libc_ver(executable: str | None = None, lib: str = "", version: str = "", chunksize: int = 16384) -> tuple[str, str]: ...
else:
def libc_ver(executable: str = ..., lib: str = "", version: str = "", chunksize: int = 16384) -> tuple[str, str]: ...
def libc_ver(
executable: str = sys.executable, lib: str = "", version: str = "", chunksize: int = 16384
) -> tuple[str, str]: ...
if sys.version_info < (3, 8):
def linux_distribution(