Commit 6932b5b3 authored by Steve Dower's avatar Steve Dower

Merge

parents d8ce735e 2ae4ea54
......@@ -754,7 +754,7 @@ Enum's boolean evaluation depend on the member's value add the following to
your class::
def __bool__(self):
return bool(self._value_)
return bool(self.value)
The :attr:`__members__` attribute is only available on the class.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment