diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-14 23:48:12 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-12-14 23:48:12 +0200 |
commit | 1a1cceaf6f42332aee3ab69d52488d7cd5f8fd30 (patch) | |
tree | fc4d3dafa6d155f7b88ea476f7b0c497fb9f4a8b /unix | |
parent | 8fb255dc342a88b039f132f4fe28b91ce917650d (diff) | |
download | micropython-1a1cceaf6f42332aee3ab69d52488d7cd5f8fd30.tar.gz micropython-1a1cceaf6f42332aee3ab69d52488d7cd5f8fd30.zip |
py/objpolyiter: Implement instance-polymorphic iterator type.
This allows to have single itertaor type for various internal iterator
types (save rodata space by not having repeating almost-empty type
structures). It works by looking "iternext" method stored in particular
object instance (should be first object field after "base").
Diffstat (limited to 'unix')
0 files changed, 0 insertions, 0 deletions