From 546b970240e4db6ae4d73b9947b299055adb4a99 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 2 Jul 2020 12:31:16 +0200 Subject: [PATCH] Rewrite a weird super call --- jedi/inference/value/iterable.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jedi/inference/value/iterable.py b/jedi/inference/value/iterable.py index 13941d16..3e9baf46 100644 --- a/jedi/inference/value/iterable.py +++ b/jedi/inference/value/iterable.py @@ -418,7 +418,9 @@ class DictLiteralValue(_DictMixin, SequenceLiteralValue, _DictKeyMixin): array_type = 'dict' def __init__(self, inference_state, defining_context, atom): - super(SequenceLiteralValue, self).__init__(inference_state) + # Intentionally don't call the super class. This is definitely a sign + # that the architecture is bad and we should refactor. + Sequence.__init__(self, inference_state) self._defining_context = defining_context self.atom = atom