Delete an item associated with a Python object, as through its __delitem__ method.

py_del_item(x, name)

Arguments

x

A Python object.

name

The item name.

Value

The (mutated) object x, invisibly.

See also

Other item-related APIs: py_get_item(), py_set_item()