2 ms·
The `eval()` in the namedtuple factory function[1] makes it a bit kludgy, IMO. [1]: https://github.com/python/cpython/blob/3.10/Lib/collections/__init__.py#L41
by woadwarrior01 5y ago
The `eval()` in the namedtuple factory function[1] makes it a bit kludgy, IMO.
[1]: https://github.com/python/cpython/blob/3.10/Lib/collections/__init__.py#L414 https://github.com/python/cpython/blob/3.10/Lib/collections/...