pub type Py3Only<T> = Result<T, Error>;
Expand description
The result type denotes that this function is only available when interfacing a Python 3 interpreter.
It’s the same as the normal PyResult
used throughout this module, but it’s just a little
type hint.
Aliased Type§
enum Py3Only<T> {
Ok(T),
Err(Error),
}