LINUX.ORG.RU

История изменений

Исправление vvn_black, (текущая версия) :

как организован for … in list в питоне

FOR_ITER(delta)

    TOS is an iterator. Call its __next__() method. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is exhausted, TOS is popped, and the byte code counter is incremented by delta.

TOS - top-of-stack

Исходная версия vvn_black, :

как организован for … in list в питоне

FOR_ITER(delta)

    TOS is an iterator. Call its __next__() method. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is exhausted, TOS is popped, and the byte code counter is incremented by delta.

TOD - top-of-stack