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

I agree. It's better to have single-item tuples still require a comma.

(1) - the number 1

1 - the number 1

(1,) - a tuple with one item, which is the number 1

1, - a tuple with one item, which is the number 1




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

Search: