mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 05:11:09 +08:00
Enforce positional arguments for set_threshold in gc (#12350)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user