Skip to content

Commit

Permalink
fixup example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Oct 4, 2024
1 parent 214efb1 commit bced2fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/weakref/anyref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ pub trait PyWeakrefMethods<'py> {
all(feature = "macros", not(all(Py_LIMITED_API, not(Py_3_9)))),
doc = "```rust"
)]
/// #![allow(deprecated)]
/// use pyo3::prelude::*;
/// use pyo3::types::PyWeakrefReference;
///
Expand Down

0 comments on commit bced2fc

Please sign in to comment.