Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed obsolete __members__ definitions

This was useful for pre-Python 2.6 support. See commit c6e8e5d.
  • Loading branch information...
commit ab2f65bb7f9083b5fac777f5e3b7872c58837f4f 1 parent e89bc39
@claudep claudep authored
Showing with 0 additions and 4 deletions.
  1. +0 −3  django/conf/__init__.py
  2. +0 −1  django/utils/functional.py
View
3  django/conf/__init__.py
@@ -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()
View
1  django/utils/functional.py
@@ -238,7 +238,6 @@ def _setup(self):
raise NotImplementedError
# introspection support:
- __members__ = property(lambda self: self.__dir__())
__dir__ = new_method_proxy(dir)
Please sign in to comment.
Something went wrong with that request. Please try again.