Just came across this little bit of weirdness in Python and thought I\'d document it write it as a question here in case anyone else is trying to find
Instead of that ugly comma, you can use the tuple() built-in method.
tuple()
def returns_tuple_of_one(a): return tuple(a)