Tuple trouble
Posted 24 March 2007, 19:37. (Filed under: Geek by Andrew)
“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.
* * *