Removed obsolete __members__ definitions

This was useful for pre-Python 2.6 support. See commit c6e8e5d9.
This commit is contained in:
Claude Paroz 2012-08-21 11:20:22 +02:00
parent e89bc39935
commit ab2f65bb7f
2 changed files with 0 additions and 4 deletions

View File

@ -160,9 +160,6 @@ class UserSettingsHolder(BaseSettings):
def __dir__(self): def __dir__(self):
return list(self.__dict__) + dir(self.default_settings) return list(self.__dict__) + dir(self.default_settings)
# For Python < 2.6:
__members__ = property(lambda self: self.__dir__())
settings = LazySettings() settings = LazySettings()

View File

@ -238,7 +238,6 @@ class LazyObject(object):
raise NotImplementedError raise NotImplementedError
# introspection support: # introspection support:
__members__ = property(lambda self: self.__dir__())
__dir__ = new_method_proxy(dir) __dir__ = new_method_proxy(dir)