From 92c84ef831c8276d591130f1c2c51289e2ba203a Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sun, 21 Apr 2024 05:25:39 +0300 Subject: ``Objects/typeobject.c``: Fix typo (#118126) --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 2f35638..970c82d 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -5671,7 +5671,7 @@ type_clear(PyObject *self) the dict, so that other objects caught in a reference cycle don't start calling destroyed methods. - Otherwise, the we need to clear tp_mro, which is + Otherwise, we need to clear tp_mro, which is part of a hard cycle (its first element is the class itself) that won't be broken otherwise (it's a tuple and tuples don't have a tp_clear handler). -- cgit v0.12