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 2cc638b commit d7aabfdCopy full SHA for d7aabfd
README.md
@@ -45,7 +45,7 @@ numpy = "0.3"
45
``` rust
46
extern crate numpy;
47
extern crate pyo3;
48
-use numpy::{IntoPyResult, PyArray1, get_array_module};
+use numpy::{PyArray1, get_array_module};
49
use pyo3::prelude::{ObjectProtocol, PyDict, PyResult, Python};
50
51
fn main() -> Result<(), ()> {
@@ -95,7 +95,7 @@ extern crate numpy;
95
96
97
use ndarray::{ArrayD, ArrayViewD, ArrayViewMutD};
98
-use numpy::{PyArrayDyn, ToPyArray};
+use numpy::{IntoPyResult, PyArrayDyn, ToPyArray};
99
use pyo3::prelude::{pymodinit, PyModule, PyResult, Python};
100
101
#[pymodinit]
0 commit comments