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.


merlingrace/reticulate1 documentation built on Nov. 4, 2019, 6:25 p.m.