[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 c006a623e7)

Co-authored-by: Aalaap Dey <65075436+axdeyy@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-09-08 16:41:34 +02:00 committed by GitHub
parent 655ad1c63e
commit 1cb1c2c03b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -476,7 +476,7 @@ PyDoc_STRVAR(gc__doc__,
"set_debug() -- Set debugging flags.\n" "set_debug() -- Set debugging flags.\n"
"get_debug() -- Get debugging flags.\n" "get_debug() -- Get debugging flags.\n"
"set_threshold() -- Set the collection thresholds.\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" "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_tracked() -- Returns true if a given object is tracked.\n"
"is_finalized() -- Returns true if a given object has been already finalized.\n" "is_finalized() -- Returns true if a given object has been already finalized.\n"