https://github.com/python/cpython/commit/1cb1c2c03b2d51999cd25f995ef7f575ff13c31d commit: 1cb1c2c03b2d51999cd25f995ef7f575ff13c31d branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: pablogsal <[email protected]> date: 2025-09-08T14:41:34Z summary:
[3.14] gh-138659: Typo in the gc module docstring (GH-138660) (#138662) 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 <[email protected]> files: M Modules/gcmodule.c diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index ad13496b06deaf..a09c4856f1166d 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -476,7 +476,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" _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
