pyodide.repr(obj)

Gets the Python’s string representation of an object.

This is equivalent to calling repr(obj) in Python.

Parameters

name

type

description

obj

any

Input object

Returns

name

type

description

str_repr

String

String representation of the input object