More PEP8 fixes

This commit is contained in:
Tushar Gohad 2015-07-28 00:11:15 -07:00
parent 7be5f2fa7e
commit e3159f3ae0

View File

@ -666,8 +666,8 @@ del __str__
def __dir__(self):
added_behavior = [m for m in self.__class__.__dict__ if m[0] != '_']
return (['__class__', '__doc__', '__module__', 'name', 'value']
+ added_behavior)
return (['__class__', '__doc__', '__module__', 'name', 'value'] +
added_behavior)
temp_enum_dict['__dir__'] = __dir__
del __dir__