“Python requires commas within single-element tuples to disambiguate the tuple from a parenthetical statement. This is a common newbie gotcha.” – Djangobook
I didn’t know that and it’s never bitten me. Now that I do, I’ll be more wary.
I’m Andrew Kember: Christian; husband; father; son; techie.
Read more about me or
me. Use my projects, read my
blog and see what
caught my eye.
“Python requires commas within single-element tuples to disambiguate the tuple from a parenthetical statement. This is a common newbie gotcha.” – Djangobook
I didn’t know that and it’s never bitten me. Now that I do, I’ll be more wary.