From: Kirill Podoprigora Date: Sun, 21 Apr 2024 02:25:39 +0000 (+0300) Subject: ``Objects/typeobject.c``: Fix typo (#118126) X-Git-Tag: v3.13.0b1~324 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92c84ef831c8276d591130f1c2c51289e2ba203a;p=thirdparty%2FPython%2Fcpython.git ``Objects/typeobject.c``: Fix typo (#118126) --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 2f3563887856..970c82d2a17a 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).