Skip to content
Snippets Groups Projects
Commit 1a1cceaf authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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").
parent 8fb255dc
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment