diff options
Diffstat (limited to 'astroid/objects.py')
-rw-r--r-- | astroid/objects.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/astroid/objects.py b/astroid/objects.py index a1c1da10..b3f3caea 100644 --- a/astroid/objects.py +++ b/astroid/objects.py @@ -66,6 +66,9 @@ class FrozenSet(NodeNG, Instance, ParentAssignTypeMixin): builtins = MANAGER.astroid_cache[BUILTINS] return builtins.getattr('frozenset')[0] + def bool_value(self): + return bool(self.elts) + class Super(NodeNG): """Proxy class over a super call. |