We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6a6cd commit 507087cCopy full SHA for 507087c
Cargo.toml
@@ -15,7 +15,7 @@ libc = "0.2"
15
num-complex = "0.2"
16
num-traits = "0.2"
17
ndarray = ">=0.13"
18
-pyo3 = "0.11.1"
+pyo3 = { git = "https://github.com/PyO3/pyo3" }
19
20
[features]
21
# In default setting, python version is automatically detected
src/error.rs
@@ -70,7 +70,7 @@ macro_rules! impl_pyerr {
70
71
impl std::convert::From<$err_type> for PyErr {
72
fn from(err: $err_type) -> PyErr {
73
- PyErr::from_value::<exc::TypeError>(PyErrValue::from_err_args(err))
+ PyErr::from_value::<exc::PyTypeError>(PyErrValue::from_err_args(err))
74
}
75
76
};
0 commit comments