Description Usage Arguments Value See Also
Set an item on a Python object, similar to how
x[name] = value might be used in Python code to
set an item called name with value value on object
x. The object's __setitem__ method will be called.
1 | py_set_item(x, name, value)
|
x |
A Python object. |
name |
The item name. |
value |
The item value. |
The (mutated) object x, invisibly.
Other item-related APIs: py_del_item,
py_get_item
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.