pyo3/tests/ui/invalid_pymethod_proto_args_py.rs
Aviram Hassan 9ae31f2b87
fix tests
2022-01-06 09:59:10 +02:00

14 lines
175 B
Rust

use pyo3::prelude::*;
#[pyclass]
struct MyClass {}
#[pymethods]
impl MyClass {
fn __truediv__(&self, _py: Python) -> PyResult<()> {
Ok(())
}
}
fn main() {}