Removed obsolete __members__ definitions
This was useful for pre-Python 2.6 support. See commit c6e8e5d9
.
This commit is contained in:
parent
e89bc39935
commit
ab2f65bb7f
|
@ -160,9 +160,6 @@ class UserSettingsHolder(BaseSettings):
|
|||
def __dir__(self):
|
||||
return list(self.__dict__) + dir(self.default_settings)
|
||||
|
||||
# For Python < 2.6:
|
||||
__members__ = property(lambda self: self.__dir__())
|
||||
|
||||
settings = LazySettings()
|
||||
|
||||
|
||||
|
|
|
@ -238,7 +238,6 @@ class LazyObject(object):
|
|||
raise NotImplementedError
|
||||
|
||||
# introspection support:
|
||||
__members__ = property(lambda self: self.__dir__())
|
||||
__dir__ = new_method_proxy(dir)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue