News for hackers. Stuff that matters.
Re:Python idioms by kragen on Monday June 13, 2011 @12:46AM (#2648160)
The surprising thing is that .join is a method of the separator, not of the list of pieces.
Re:Python idioms by dzderic on Monday June 13, 2011 @01:38AM (#2648242)
I'm pretty sure it's a string method so it can take any iterator as an argument.
Re:Python idioms by kragen on Monday June 13, 2011 @02:38AM (#2648324)
I think that was the deciding argument, yes.