diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2024-04-21 02:25:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-21 02:25:39 (GMT) |
commit | 92c84ef831c8276d591130f1c2c51289e2ba203a (patch) | |
tree | c26ccb80ef48f66ef06388d4d7f91f5b14c9f1e0 | |
parent | 1558d993166636f371c1003107ec979db6744f21 (diff) | |
download | cpython-92c84ef831c8276d591130f1c2c51289e2ba203a.zip cpython-92c84ef831c8276d591130f1c2c51289e2ba203a.tar.gz cpython-92c84ef831c8276d591130f1c2c51289e2ba203a.tar.bz2 |
``Objects/typeobject.c``: Fix typo (#118126)
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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). |