If you need the functionality of a namedtuple but will only make 1 or a few instances, then use an attrtuple instead.
6.6 KiB
6.6 KiB
If you need the functionality of a namedtuple but will only make 1 or a few instances, then use an attrtuple instead.