Get iterable content using __iter__() and __next__().

Authored by flherne on Nov 29 2016, 2:19 PM.

Description

Get iterable content using iter() and next().

BUG: 369363
Supports unpacking and iterating over custom sequence types.
See tests for examples (by Nicolás Alvarez).

Returning iter(builtin_container) isn't handled usefully
because they use docstring cheats with no real return values.

Differential Revision: https://phabricator.kde.org/D3540

Details

Committed
flherneNov 29 2016, 11:05 PM
Differential Revision
D3540: Get iterable content using __iter__() and __next__().
Parents
R53:4d4756c7ea65: SVN_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown