3 ms·
You can do that trivially with __*attr__ methods in Python. If you want something more structured, you can easily do it with a metaclass.
by jemfinch 15y ago
You can do that trivially with __*attr__ methods in Python. If you want something more structured, you can easily do it with a metaclass.