Enforce positional arguments for set_threshold in gc (#12350)

This commit is contained in:
Max Muoto
2024-07-16 04:29:25 -05:00
committed by GitHub
parent 0df6028dc8
commit d56c7bb2e0

View File

@@ -34,4 +34,4 @@ if sys.version_info >= (3, 9):
def isenabled() -> bool: ...
def set_debug(flags: int, /) -> None: ...
def set_threshold(threshold0: int, threshold1: int = ..., threshold2: int = ...) -> None: ...
def set_threshold(threshold0: int, threshold1: int = ..., threshold2: int = ..., /) -> None: ...