We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 635b38c commit a0a71d8Copy full SHA for a0a71d8
newsfragments/3899.changed.md
@@ -0,0 +1,2 @@
1
+The `wrap_pyfunction!` macro is now deprecated. The `wrap_pyfunction_bound!` macro, which returns a `Bound<'_, PyCFunction>` should be used instead.
2
+In addition, the `#[pymodule]` macro was changed to support module functions that take a single module argument as a `&Bound<'_, PyModule>`.
0 commit comments