O'Reilly logo
  • Preetham Nanjappa thinks this is interesting:

Unpacking actually works with any object that happens to be iterable, not just tuples or lists. This includes strings, files, iterators, and generators.

From

Cover of Python Cookbook, 3rd Edition

Note

i