pyo3/newsfragments/3587.added.md
Joseph Perez 744de3a142
feat: allow classmethod/pass_module to receive owned types
This is necessary for async functions
2023-11-22 07:45:59 +01:00

2 lines
162 B
Markdown

- Classmethods can now receive `Py<PyType>` as their first argument
- Function annotated with `pass_module` can now receive `Py<PyModule>` as their first argument