mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Remove a piece of unimportant code, see discussion in #1933
This commit is contained in:
@@ -443,9 +443,6 @@ class CompiledValueFilter(AbstractFilter):
|
|||||||
"""
|
"""
|
||||||
To remove quite a few access calls we introduced the callback here.
|
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(
|
has_attribute, is_descriptor = allowed_getattr_callback(
|
||||||
name,
|
name,
|
||||||
safe=not self._inference_state.allow_descriptor_getattr
|
safe=not self._inference_state.allow_descriptor_getattr
|
||||||
|
|||||||
Reference in New Issue
Block a user