Joining a list:
>>> \'\'.join([ str(_) for _ in xrange(10) ]) \'0123456789\'
join must take an iterable.
join
Appa
As mentioned it's a generator expression.
From the documentation:
The parentheses can be omitted on calls with only one argument. See section Calls for the detail.