fix forgotten return inside generator in example.py, python3.2 complained