From 97e926f3f6465e5abe1774d035971ebb64a1fcd7 Mon Sep 17 00:00:00 2001 From: Aalaap Dey <65075436+axdeyy@users.noreply.github.com> Date: Mon, 8 Sep 2025 14:35:36 +0100 Subject: [PATCH] docs(gc): fix typo in get_threshold() docstring Removes a duplicate "the" from the docstring for the `gc.get_threshold()` function. --- Modules/gcmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 02839ca3c99bef..19b3f2a2eb6147 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -478,7 +478,7 @@ PyDoc_STRVAR(gc__doc__, "set_debug() -- Set debugging flags.\n" "get_debug() -- Get debugging flags.\n" "set_threshold() -- Set the collection thresholds.\n" -"get_threshold() -- Return the current the collection thresholds.\n" +"get_threshold() -- Return the current collection thresholds.\n" "get_objects() -- Return a list of all objects tracked by the collector.\n" "is_tracked() -- Returns true if a given object is tracked.\n" "is_finalized() -- Returns true if a given object has been already finalized.\n"