From db72e097aa9249a5107dfdddee3c12177b86c4df Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sat, 20 Apr 2024 23:21:40 +0300 Subject: [PATCH] Fix typo --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 2f356388785665..970c82d2a17ada 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).