mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-05 03:38:50 +08:00
Enforce positional arguments for set_threshold in gc (#12350)
This commit is contained in:
1 parent
0df6028dc8
commit
d56c7bb2e0
1 file changed
+1
-1
+1
-1
@@ -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