pyo3/tests/ui/abi3_weakref.rs

8 lines
142 B
Rust
Raw Normal View History

//! With abi3, weakref not supported until python 3.9 or greater
use pyo3::prelude::*;
#[pyclass(weakref)]
struct TestClass {}
fn main() {}