4 ms·
If you pass verbose=True to namedtuple(), you can see that it's essentially just defining a new class. This is something that people already do at the top level
by rcfox 13y ago
If you pass verbose=True to namedtuple(), you can see that it's essentially just defining a new class. This is something that people already do at the top level of a module.