class documentation

class Position:

View In Hierarchy

An abstraction representing the location of a single element.

Note that two position instaces may represent the same inherent location in the list. Therefore, users should always rely on syntax 'p == q' rather than 'p is q' when testing equivalence of positions.

Method __eq__ Return True if other is a Position representing the same location.
Method __init__ Constructor should not be invoked by user.
Method __ne__ Return True if other does not represent the same location.
Method element Return the element stored at this Position.
Instance Variable _container Undocumented
Instance Variable _node Undocumented
def __eq__(self, other):

Return True if other is a Position representing the same location.

def __init__(self, container, node):

Constructor should not be invoked by user.

def __ne__(self, other):

Return True if other does not represent the same location.

def element(self):

Return the element stored at this Position.

_container =

Undocumented

_node =

Undocumented