pub type PyResult<T> = Result<T, PyErr>;
Represents the result of a Python call.
enum PyResult<T> { // some variants omitted }