Sure it works with lists too. If it's not iterable, `iter` will be called.