pyo3/newsfragments/3157.added.md

2 lines
137 B
Markdown

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