diff --git a/jedi/evaluate/compiled/__init__.py b/jedi/evaluate/compiled/__init__.py index a74056ec..42c7ed76 100644 --- a/jedi/evaluate/compiled/__init__.py +++ b/jedi/evaluate/compiled/__init__.py @@ -21,7 +21,7 @@ class CompiledValue(ContextWrapper): def __getattribute__(self, name): if name in ('get_safe_value', 'execute_operation', 'access_handle', - 'negate'): + 'negate', 'py__bool__'): return getattr(self._compiled_obj, name) return super(CompiledValue, self).__getattribute__(name)