From 919188ed1e1c48e35f2cb886e83432fa0b14fced Mon Sep 17 00:00:00 2001 From: Lukas Steiblys Date: Wed, 22 May 2024 08:46:47 -0700 Subject: [PATCH] Remove redundant assignment in reduce() initialization. The variable gets immediately overwritten in the loop. The assignment operation has no effect. --- v1/difference_sequence.py | 1 - 1 file changed, 1 deletion(-) diff --git a/v1/difference_sequence.py b/v1/difference_sequence.py index c79ecdd..3154385 100644 --- a/v1/difference_sequence.py +++ b/v1/difference_sequence.py @@ -102,7 +102,6 @@ def subtract_values(first, second): index = Index() index_out = Index() - keys_todo = defaultdict(set) output = [] for collection in self._inner: