Ticket #23782: #23782-lazy_with_contains.diff
File #23782-lazy_with_contains.diff, 438 bytes (added by , 10 years ago) |
---|
-
django/utils/functional.py
diff --git a/django/utils/functional.py b/django/utils/functional.py index 6c63999..1ba1988 100644
a b class LazyObject(object): 270 270 def __delitem__(self, key): 271 271 del self[key] 272 272 273 @new_method_proxy 274 def __contains__(self, key): 275 return self.__contains__(key) 276 273 277 274 278 # Workaround for http://bugs.python.org/issue12370 275 279 _super = super