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

python newbie here, why did messages change from [ to (


Doesn't matter much in this particular case, one is a tuple, the other is a list, both can be read with a for loop.

The important part is that the way messages types are defined is very heavy, and you can get them to be lighter without sacrificing type safety.




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

Search: