Ticket #2791: merge_contains.patch
File merge_contains.patch, 479 bytes (added by , 18 years ago) |
---|
-
site-packages/django/utils/datastructures.py
14 14 pass 15 15 raise KeyError 16 16 17 def __contains__(self, key): 18 return self.has_key(key) 19 17 20 def get(self, key, default): 18 21 try: 19 22 return self[key]