Changes between Version 23 and Version 24 of DjangoSpecifications/Core/SingleInstance
- Timestamp:
- Sep 22, 2008, 4:57:14 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoSpecifications/Core/SingleInstance
v23 v24 160 160 if name in _reserved_attributes: 161 161 return object.__setattr__(self, name, value) 162 return setattr(self. instance, name, value)162 return setattr(self.__instance, name, value) 163 163 164 164 def __getattr__(self, name, value=None): 165 165 if name in _reserved_attributes: 166 166 return object.__getattr__(self, name, value) 167 return getattr(self. instance, name, value)167 return getattr(self.__instance, name, value) 168 168 }}} 169 169