Python: Remove unnecessary comment

Was introduced in 5d031d7abe when I actually fixed
the loop variable capture problem.
This commit is contained in:
Rasmus Wriedt Larsen
2020-09-07 15:05:24 +02:00
parent fb37330f5e
commit 61998afc56

View File

@@ -11,7 +11,6 @@ def better_compare_for_dataclass(cls):
]:
old = getattr(cls, op)
# Fix loop variable capture (py/loop-variable-capture)
def new(self, other, op=op, old=old):
if type(self) == type(other):
return old(self, other)