Functions§
- use
rustpython
’sis_instance
method to check if a PyObject is a instance of class. ifPyResult
is Err, then this function returnfalse
- convert a single PyVector or a number(a constant)(wrapping in PyObjectRef) into a Array(or a constant array)