Hacker News new | past | comments | ask | show | jobs | submit login

When I used to write python "x = 1," bit me way more than it should have. And I don't see why you wouldn't want to be explicit about your tuple construction every time..



I usually use x = tuple((1,) ) so that non-Python programmers on the team know what they're dealing with.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: