diff --git a/src/instance.rs b/src/instance.rs index 8cc6ddfaf6e..351d0082aba 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -52,9 +52,8 @@ unsafe impl Sync for Py {} impl Py { /// Create a new instance `Py`. /// - /// This method is **soft-duplicated** since PyO3 0.9.0. - /// Use [`PyCell::new`](../pycell/struct.PyCell.html#method.new) and - /// `Py::from` instead. + /// You can crate [`PyCell::new`](../pycell/struct.PyCell.html#method.new) and `Py::from`, + /// but this method can be more efficient. pub fn new(py: Python, value: impl Into>) -> PyResult> where T: PyClass,