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 e355bcf commit 32e5ecaCopy full SHA for 32e5eca
src/lib.rs
@@ -2,6 +2,7 @@
2
use pyo3::prelude::*;
3
4
#[pymodule]
5
+/// This is a PyO3 demo library used to verify that submodules are handled properly.
6
fn pdoc_pyo3_sample_library(py: Python<'_>, m: &PyModule) -> PyResult<()> {
7
8
let submodule = PyModule::new(py, "submodule")?;
@@ -30,6 +31,7 @@ fn pdoc_pyo3_sample_library(py: Python<'_>, m: &PyModule) -> PyResult<()> {
30
31
}
32
33
#[pyfunction]
34
+/// A method implemented in Rust.
35
fn func() -> String {
36
"func".to_string()
37
0 commit comments