From 64f9cfa2d51747c379aab44ccc23712bc23cc24c Mon Sep 17 00:00:00 2001 From: Aalaap Dey <65075436+axdeyy@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:16:33 +0100 Subject: [PATCH] gh-138659: Typo in the gc module docstring (GH-138660) docs(gc): fix typo in get_threshold() docstring Removes a duplicate "the" from the docstring for the `gc.get_threshold()` function. (cherry picked from commit c006a623e73d2368ec653e19c769706885161053) Co-authored-by: Aalaap Dey <65075436+axdeyy@users.noreply.github.com> --- Modules/gcmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index b57a1c90723306..ee24900ae88a9c 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -479,7 +479,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"