R: Delete / remove an item from a Python object

py_del_item {reticulate} | R Documentation

## Delete / remove an item from a Python object

### Description

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

### Usage

    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()`

[Package reticulate version 1.21 Index]