12 lines
171 B
Rust
12 lines
171 B
Rust
|
use pyo3::prelude::*;
|
||
|
|
||
|
#[pyclass]
|
||
|
struct MyClass {}
|
||
|
|
||
|
#[pymethods]
|
||
|
impl MyClass {
|
||
|
fn method_with_invalid_self_type(slf: i32, py: Python, index: u32) {}
|
||
|
}
|
||
|
|
||
|
fn main() {}
|