From: Aalaap Dey <65075436+axdeyy@users.noreply.github.com> Date: Mon, 8 Sep 2025 14:16:33 +0000 (+0100) Subject: gh-138659: Typo in the gc module docstring (#138660) X-Git-Tag: v3.15.0a1~448 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c006a623e73d2368ec653e19c769706885161053;p=thirdparty%2FPython%2Fcpython.git gh-138659: Typo in the gc module docstring (#138660) docs(gc): fix typo in get_threshold() docstring Removes a duplicate "the" from the docstring for the `gc.get_threshold()` function. --- diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 02839ca3c99b..19b3f2a2eb61 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"