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

With tuples inside of lists, you usually unpack them to variables in a for loop.

Named tuples are just immutable classes with slots. Unless you want to slow your code down considerably, it's best to avoid them.



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

Search: