17 lines
178 B
Rust
17 lines
178 B
Rust
#![deny(deprecated)]
|
|
|
|
use pyo3::prelude::*;
|
|
|
|
#[pyclass]
|
|
struct DeprecatedCall;
|
|
|
|
#[pymethods]
|
|
impl DeprecatedCall {
|
|
#[call]
|
|
fn deprecated_call(&self) {}
|
|
}
|
|
|
|
fn main() {
|
|
|
|
}
|