Add several version-dependent default values to parameters in the stdlib (#9631)

This commit is contained in:
Alex Waygood
2023-01-31 01:21:39 +00:00
committed by GitHub
parent 81463b9995
commit a6919227be
5 changed files with 28 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ ERROR: int
FATAL: int
class Log:
def __init__(self, threshold: int = ...) -> None: ...
def __init__(self, threshold: int = 3) -> None: ...
def log(self, level: int, msg: str, *args: Any) -> None: ...
def debug(self, msg: str, *args: Any) -> None: ...
def info(self, msg: str, *args: Any) -> None: ...