Re:Lesser known parts of Python standard library – Trickster...
by kstrauser on Thursday September 05, 2024 @02:27PM
(#41459219)
You don't need `_make()` with dataclasses, and you get `asdict()` as a stand-alone function so it doesn't clash with each class's namespace. Here's what your code might look like with them:
[ Parent
| on HN ]