https://github.com/python/cpython/commit/92c84ef831c8276d591130f1c2c51289e2ba203a commit: 92c84ef831c8276d591130f1c2c51289e2ba203a branch: main author: Kirill Podoprigora <kirill.ba...@mail.ru> committer: JelleZijlstra <jelle.zijls...@gmail.com> date: 2024-04-21T02:25:39Z summary:
``Objects/typeobject.c``: Fix typo (#118126) files: M Objects/typeobject.c 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). _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com