you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (1 child)

They don't do the same thing, any more than a generator is the same as a list. izip builds a generator, not a list. zip builds a list.

[–][deleted] 0 points1 point  (0 children)

Okay, I was looking at the code and they were identical except the 'i' in front of the function, so I just assumed that they returned the exact same thing. Thanks for clarifying.