Cycler Class

Inheritance diagram of Cycler

class Cycler(*items)

A cycle helper for templates.

Methods

__init__(*items)
next() Goes one item ahead and returns it.
reset() Resets the cycle.

Attributes

current Returns the current item.

Descriptions

class Cycler

Method details

__init__(*items)
next()

Goes one item ahead and returns it.

reset()

Resets the cycle.

Attribute details

current

Returns the current item.

Table Of Contents

Previous topic

urlize

Next topic

Joiner Class