Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyO3/pyo3
/ staticmethod
Method
staticmethod
tests/test_multiple_pymethods.rs:45–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
impl PyClassWithMultiplePyMethods {
44
#[staticmethod]
45
fn staticmethod() -> &'static str {
46
"staticmethod"
47
}
48
}
49
50
#[pymethods]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected