pyo3/newsfragments/3384.added.md

1 line
125 B
Markdown
Raw Normal View History

2023-08-13 16:25:07 +00:00
`#[pyclass]` now accepts `rename_all`: this allows renaming all variants of an enum so that `MyVariant` becomes `MY_VARIANT`.