Iterator without temporary variable



examples/iterators/simple_iterator_once.py

from counter import Counter

for c in Counter():
   print(c)
1
2
3