py_del_item: Delete / remove an item from a Python object

View source: R/python.R

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


reticulate documentation built on Jan. 8, 2023, 1:09 a.m.