py_id: Unique identifer for Python object

View source: R/RcppExports.R

py_idR Documentation

Unique identifer for Python object

Description

Get a globally unique identifier for a Python object.

Usage

py_id(object)

Arguments

object

Python object

Value

Unique identifer (as string) or NULL

Note

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


rstudio/reticulate documentation built on April 20, 2024, 3:17 p.m.