From 048173e46753ba7dff148869e2cdcc83233bdf53 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 28 Jul 2023 10:15:28 +0200 Subject: [PATCH] Remove a piece of unimportant code, see discussion in #1933 --- jedi/inference/compiled/value.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/jedi/inference/compiled/value.py b/jedi/inference/compiled/value.py index baad4d63..94d99041 100644 --- a/jedi/inference/compiled/value.py +++ b/jedi/inference/compiled/value.py @@ -443,9 +443,6 @@ class CompiledValueFilter(AbstractFilter): """ To remove quite a few access calls we introduced the callback here. """ - if self._inference_state.allow_descriptor_getattr: - pass - has_attribute, is_descriptor = allowed_getattr_callback( name, safe=not self._inference_state.allow_descriptor_getattr