def __setattr__(self, attr, value):
    'Set a particular timing'
    if (attr == '_timings'):
        object.__setattr__(self, attr, value)
    elif (attr in self.__default_timing):
        self._timings[attr] = value
    else:
        raise AttributeError('Unknown timing setting: {0}'.format(attr))
Set a particular timing
def __setattr__(self, attr, value):
    
    if (attr == '_timings'):
        object.__setattr__(self, attr, value)
    elif (attr in self.__default_timing):
        self._timings[attr] = value
    else:
        raise AttributeError('Unknown timing setting: {0}'.format(attr))