More PEP8 fixes
This commit is contained in:
parent
7be5f2fa7e
commit
e3159f3ae0
@ -666,8 +666,8 @@ del __str__
|
|||||||
|
|
||||||
def __dir__(self):
|
def __dir__(self):
|
||||||
added_behavior = [m for m in self.__class__.__dict__ if m[0] != '_']
|
added_behavior = [m for m in self.__class__.__dict__ if m[0] != '_']
|
||||||
return (['__class__', '__doc__', '__module__', 'name', 'value']
|
return (['__class__', '__doc__', '__module__', 'name', 'value'] +
|
||||||
+ added_behavior)
|
added_behavior)
|
||||||
temp_enum_dict['__dir__'] = __dir__
|
temp_enum_dict['__dir__'] = __dir__
|
||||||
del __dir__
|
del __dir__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user