.attr_insert: Insert a name-value-pair into an object attribute
Description
Insert a name-value-pair into an object attribute
Usage
.attr_insert(obj, key, name, value)
Value
The object with new attributes.
Arguments
- obj
The object.
- key
The attribute key.
- name
The name of a list item within the attribute.
- value
The value of the list item.