Skip to content

Commit 90e33ec

Browse files
axdeyylkollar
authored andcommitted
pythongh-138659: Typo in the gc module docstring (python#138660)
docs(gc): fix typo in get_threshold() docstring Removes a duplicate "the" from the docstring for the `gc.get_threshold()` function.
1 parent 582cc8e commit 90e33ec

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
@@ -478,7 +478,7 @@ PyDoc_STRVAR(gc__doc__,
478478
"set_debug() -- Set debugging flags.\n"
479479
"get_debug() -- Get debugging flags.\n"
480480
"set_threshold() -- Set the collection thresholds.\n"
481-
"get_threshold() -- Return the current the collection thresholds.\n"
481+
"get_threshold() -- Return the current collection thresholds.\n"
482482
"get_objects() -- Return a list of all objects tracked by the collector.\n"
483483
"is_tracked() -- Returns true if a given object is tracked.\n"
484484
"is_finalized() -- Returns true if a given object has been already finalized.\n"

0 commit comments

Comments
 (0)