Trailing commas in python

This has tripped me off way more than I would like. For those of you who don't know adding a comma makes a variable into tuple (Yes its not the C bracket)

foo = 1,
print(type(foo))

It prints:

<class 'tuple'>