pyo3/newsfragments/3157.added.md

137 B

Allow combining #[new] and #[classmethod] to create a constructor which receives a (subtype's) class/PyType as its first argument.