bottle.__dict__['volume'] = 4 Bottle.__dict__['volume'] = 4 ## fails