# HG changeset patch # User Rapha?l Gom?s # Date 1739874800 -3600 # Node ID d934d730c6c24007ffcba7cfa78afabee7dc2b2e # Parent 0db5f7987b136b878f5b4d45b93ca41884f3198b pyO3: remove useless (and wrong) `__doc__` attribute on modules PyO3 overrides the `__doc__` attributes to use the module's docstring. diff -r 0db5f7987b13 -r d934d730c6c2 rust/hg-pyo3/src/utils.rs --- a/rust/hg-pyo3/src/utils.rs Tue Feb 18 11:31:45 2025 +0100 +++ b/rust/hg-pyo3/src/utils.rs Tue Feb 18 11:33:20 2025 +0100 @@ -23,7 +23,6 @@ let dotted_name = &format!("{}.{}", package_name, name); let m = PyModule::new(py, name)?; m.add("__package__", package_name)?; - m.add("__doc__", "DAG operations - Rust implementation")?; let sys = PyModule::import(py, "sys")?; // according to the doc, we could make a static PyString out of