From 17f7c3dcc47071295e12aefc696332fb0b1dc42b Mon Sep 17 00:00:00 2001 From: Paul Fisher Date: Mon, 1 Nov 2021 15:24:06 -0400 Subject: [PATCH] fix inconsistency due to comment copypasta --- src/attr/_make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attr/_make.py b/src/attr/_make.py index ff0a00553..d45b7e018 100644 --- a/src/attr/_make.py +++ b/src/attr/_make.py @@ -1889,7 +1889,7 @@ def _is_already_repring(inst): try: working_set = _repr_context.working_set except AttributeError: - # Since 'self' remains on the stack (i.e.: strongly referenced) + # Since 'inst' remains on the stack (i.e.: strongly referenced) # for the duration of this call, it's safe to depend on id(...) # stability, and not need to track the instance and therefore # worry about properties like weakref- or hash-ability.