LoopContext Class

Inheritance diagram of LoopContext

class LoopContext(iterable, recurse=None)

A loop context for dynamic iteration.

Methods

__init__(iterable[, recurse])
cycle(*args) Cycles among the arguments with the current loop index.

Attributes

first
index
last
length
revindex
revindex0

Descriptions

class LoopContext

Method details

__init__(iterable, recurse=None)
cycle(*args)

Cycles among the arguments with the current loop index.

Attribute details

first
index
last
length
revindex
revindex0

Table Of Contents

Previous topic

DebugUndefined Class

Next topic

LoopContextIterator Class