MCPcopy Create free account
hub / github.com/PyO3/pyo3 / classmethod_missing_argument

Method classmethod_missing_argument

tests/ui/invalid_pymethods.rs:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 #[classmethod]
28 fn classmethod_missing_argument() -> Self {
29 //~^ ERROR: Expected `&Bound<PyType>` or `Py<PyType>` as the first argument to `#[classmethod]`
30 Self {}
31 }
32}
33
34struct NotATypeObject;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected