From 748710967031a3bfc708bedd7b35b9a1b18530da Mon Sep 17 00:00:00 2001 From: donbarbos Date: Sat, 10 Jan 2026 23:54:59 +0400 Subject: [PATCH] [gc] Add default values Source: https://github.com/python/cpython/blob/aa8578dc54df2af9daa3353566359e602e5905cf/Modules/clinic/gcmodule.c.h#L238 --- stdlib/gc.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/gc.pyi b/stdlib/gc.pyi index 06fb6b47c2d1..ec1ed2681c5c 100644 --- a/stdlib/gc.pyi +++ b/stdlib/gc.pyi @@ -30,4 +30,4 @@ def is_tracked(obj: Any, /) -> bool: ... def is_finalized(obj: Any, /) -> bool: ... 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 = 0, threshold2: int = 0, /) -> None: ...