py_id: Unique identifer for Python object

Description Usage Arguments Value Note

View source: R/python.R

Description

Get a globally unique identifer for a Python object.

Usage

1
py_id(object)

Arguments

object

Python object

Value

Unique identifer (as integer) or NULL

Note

In the current implementation of CPython this is the memory address of the object.


reticulate documentation built on Sept. 17, 2021, 9:08 a.m.