Skip to content

Commit

Permalink
Removed obsolete __members__ definitions
Browse files Browse the repository at this point in the history
This was useful for pre-Python 2.6 support. See commit c6e8e5d.
  • Loading branch information
claudep committed Aug 21, 2012
1 parent e89bc39 commit ab2f65b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions django/conf/__init__.py
Expand Up @@ -160,9 +160,6 @@ def __getattr__(self, name):
def __dir__(self):
return list(self.__dict__) + dir(self.default_settings)

# For Python < 2.6:
__members__ = property(lambda self: self.__dir__())

settings = LazySettings()


Expand Down
1 change: 0 additions & 1 deletion django/utils/functional.py
Expand Up @@ -238,7 +238,6 @@ def _setup(self):
raise NotImplementedError

# introspection support:
__members__ = property(lambda self: self.__dir__())
__dir__ = new_method_proxy(dir)


Expand Down

0 comments on commit ab2f65b

Please sign in to comment.