Table of Contents

Class: cyclic_list rdpyg/util/cyclic_list.py
Base Classes   
UserList.UserList
Methods   
__init__
cur
next
prev
set_cur
  __init__ 
__init__ (
        self,
        *args,
        *kwargs,
        )

  cur 
cur ( self )

returns the element at the current cursor.

  next 
next ( self )

increments the cursor, and returns the new current idx.

  prev 
prev ( self )

decrements the cursor, and returns the new current idx.

  set_cur 
set_cur ( self,  idx )

Sets the current cursor to the given idx.


Table of Contents

This document was automatically generated on Sat Jul 30 12:45:42 2005 by HappyDoc version 2.1