PyPedal::odict::_items Class Reference

List of all members.

Public Member Functions

def __init__
def __call__
def __getitem__
def __setitem__
def __delitem__
def __repr__
def __lt__
def __le__
def __eq__
def __ne__
def __gt__
def __ge__
def __cmp__
def __contains__
def __len__
def __iter__
def count
def index
def reverse
def sort
def __mul__
def __add__
def __radd__
def append
def insert
def pop
def remove
def extend
def __iadd__
def __imul__
 following methods not implemented for items ##


Detailed Description

Custom object for accessing the items of an OrderedDict.

Can be called like the normal ``OrderedDict.items`` method, but also
supports indexing and sequence methods.

Definition at line 951 of file odict.py.


Member Function Documentation

def PyPedal::odict::_items::__call__ (   self  ) 

Pretend to be the items method.

Definition at line 962 of file odict.py.

def PyPedal::odict::_items::__getitem__ (   self,
  index 
)

Fetch the item at position i.

Definition at line 966 of file odict.py.

def PyPedal::odict::_items::__setitem__ (   self,
  index,
  item 
)

Set item at position i to item.

Definition at line 974 of file odict.py.

def PyPedal::odict::_items::__delitem__ (   self,
  i 
)

Delete the item at position i.

Definition at line 990 of file odict.py.

def PyPedal::odict::_items::append (   self,
  item 
)

Add an item to the end.

Definition at line 1025 of file odict.py.


The documentation for this class was generated from the following file:

Generated on Thu May 1 12:33:43 2008 for PyPedal by  doxygen 1.5.5