Skip to content

Commit 1cb1c2c

Browse files
[3.14] pythongh-138659: Typo in the gc module docstring (pythonGH-138660) (python#138662)
pythongh-138659: Typo in the gc module docstring (pythonGH-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 655ad1c commit 1cb1c2c

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

0 commit comments

Comments
 (0)