diff --git a/src/types/module.rs b/src/types/module.rs index 6b90e5de197..2beb454c62a 100644 --- a/src/types/module.rs +++ b/src/types/module.rs @@ -45,6 +45,7 @@ impl PyModule { /// })?; /// # Ok(())} /// ``` + // TODO: Use multi-phase initialization pub fn new_bound<'py>(py: Python<'py>, name: &str) -> PyResult> { // Could use PyModule_NewObject, but it doesn't exist on PyPy. let name = CString::new(name)?;