Skip to content

Commit c70984d

Browse files
committed
run-darker
1 parent 87da62b commit c70984d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

IPython/core/guarded_eval.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def _handle_assign(node: ast.Assign, context: EvaluationContext):
579579
for i in range(star_or_last_idx):
580580
# Check for self.x assignment
581581
if _is_instance_attribute_assignment(targets[i], context):
582-
class_transients[targets[i].attr] = values[i]
582+
class_transients[targets[i].attr] = values[i]
583583
else:
584584
transient_locals[targets[i].id] = values[i]
585585

@@ -609,7 +609,7 @@ def _handle_assign(node: ast.Assign, context: EvaluationContext):
609609
]
610610
else:
611611
if _is_instance_attribute_assignment(target, context):
612-
class_transients[target.attr] = value
612+
class_transients[target.attr] = value
613613
else:
614614
transient_locals[target.id] = value
615615
return None

0 commit comments

Comments
 (0)