Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
x.__setattr__('name', value) <==> x.name = value

src/p/y/pysaml2-2.0.0/src/saml2/saml.py   pysaml2(Download)
    def __setattr__(self, key, value):
        if key == "text":
            self.set_text(value)
        else:
            SamlBase.__setattr__(self, key, value)
                    raise ValueError
 
        SamlBase.__setattr__(self, "text", val)
        return self
 

src/p/y/pysaml2-HEAD/src/saml2/saml.py   pysaml2(Download)
    def __setattr__(self, key, value):
        if key == "text":
            self.set_text(value)
        else:
            SamlBase.__setattr__(self, key, value)
                    raise ValueError
 
        SamlBase.__setattr__(self, "text", val)
        return self