This is an archive of the discontinued LLVM Phabricator instance.

[Python] Implement __next__ for value_iter
ClosedPublic

Authored by JDevlieghere on Sep 4 2019, 9:07 AM.

Details

Summary

Python 3 iteration calls the next() method instead of next() and
value_iter only implemented the Python 2 version.

Diff Detail

Repository
rL LLVM

Event Timeline

JDevlieghere created this revision.Sep 4 2019, 9:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 4 2019, 9:07 AM
davide accepted this revision.Sep 4 2019, 11:09 AM
davide added a subscriber: davide.

LGTM

This revision is now accepted and ready to land.Sep 4 2019, 11:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 4 2019, 11:58 AM