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.


Mormukut11/R-interface-to-Python documentation built on May 21, 2019, 9:36 a.m.