4 ms·
Another alternative to data classes is types.SimpleNamespace, available since Python 3.3: https://docs.python.org/3/library/types.html#types.SimpleNamespace ht
by jwilk 8y ago
Another alternative to data classes is types.SimpleNamespace, available since Python 3.3:
https://docs.python.org/3/library/types.html#types.SimpleNamespace https://docs.python.org/3/library/types.html#types.SimpleNam...