2021-04-17 21:22:06 +00:00
|
|
|
#![deny(deprecated)]
|
|
|
|
|
|
|
|
use pyo3::prelude::*;
|
|
|
|
|
2022-10-25 06:23:21 +00:00
|
|
|
#[pyclass]
|
2023-06-13 07:19:43 +00:00
|
|
|
#[pyo3(text_signature = "()")]
|
2022-10-25 06:23:21 +00:00
|
|
|
struct MyClass;
|
2021-04-17 21:22:06 +00:00
|
|
|
|
2023-10-05 22:59:03 +00:00
|
|
|
#[pymethods]
|
|
|
|
impl MyClass {
|
|
|
|
#[__new__]
|
|
|
|
fn new() -> Self {
|
|
|
|
Self
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-13 07:19:43 +00:00
|
|
|
fn main() {}
|