diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2016-01-15 15:03:12 -0800 |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2016-01-15 15:03:12 -0800 |
commit | ccf44b04458522e96d2cb451d2c4874bc118b4cc (patch) | |
tree | 363f03e37a96c591e6d81019bc851d1a07f9f721 /Lib/enum.py | |
parent | 63b8505281f9c26f7304b3e00d658b429b862d5b (diff) | |
parent | 60255b67b986d4c448153bef16755599afbfdaa2 (diff) | |
download | cpython-git-ccf44b04458522e96d2cb451d2c4874bc118b4cc.tar.gz |
branch merge
Diffstat (limited to 'Lib/enum.py')
-rw-r--r-- | Lib/enum.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/enum.py b/Lib/enum.py index 35a9c77935..ac89d6ba26 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -482,9 +482,6 @@ class Enum(metaclass=EnumMeta): def __str__(self): return "%s.%s" % (self.__class__.__name__, self._name_) - def __bool__(self): - return bool(self._value_) - def __dir__(self): added_behavior = [ m |