Kaydet (Commit) ab2f65bb authored tarafından Claude Paroz's avatar Claude Paroz

Removed obsolete __members__ definitions

This was useful for pre-Python 2.6 support. See commit c6e8e5d9.
üst e89bc399
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment