https://hg.python.org/cpython/rev/a092030f1f9e changeset: 99936:a092030f1f9e parent: 99935:37dc870175be parent: 99933:e4c22eadc25c user: Steve Dower <steve.dower at microsoft.com> date: Sat Jan 16 12:41:03 2016 -0800 summary: Merge files: Doc/library/enum.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -754,7 +754,7 @@ your class:: def __bool__(self): - return bool(self._value_) + return bool(self.value) The :attr:`__members__` attribute is only available on the class. -- Repository URL: https://hg.python.org/cpython