Set an attribute of a Python object

py_set_attr(x, name, value)

Arguments

x

Python object

name

Attribute name

value

Attribute value