Skip to content

Commit 6aa7fa0

Browse files
[3.13] gh-138659: Typo in the gc module docstring (GH-138660) (#138663)
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 c006a62) Co-authored-by: Aalaap Dey <[email protected]>
1 parent 7e0dfe5 commit 6aa7fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/gcmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ PyDoc_STRVAR(gc__doc__,
479479
"set_debug() -- Set debugging flags.\n"
480480
"get_debug() -- Get debugging flags.\n"
481481
"set_threshold() -- Set the collection thresholds.\n"
482-
"get_threshold() -- Return the current the collection thresholds.\n"
482+
"get_threshold() -- Return the current collection thresholds.\n"
483483
"get_objects() -- Return a list of all objects tracked by the collector.\n"
484484
"is_tracked() -- Returns true if a given object is tracked.\n"
485485
"is_finalized() -- Returns true if a given object has been already finalized.\n"

0 commit comments

Comments
 (0)