eevee/sanpera — pull request #3 by encukou (2012-08-10 18:17:18+00:00)
Title: Make Vector iterable

Vector.__iter__ returned a tuple, when it should return an iterator:

>>> from sanpera.geometry import Size
>>> w, h = Size(1, 2)
Traceback (most recent call last):
File "", line 1, in
TypeError: iter() returned non-iterator of type 'tuple'

An extra iter() call fixes this.