Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: