Documentation


tuplelist()

tuplelist ( list )

tuplelist constructor.

Arguments:

list: Initial list of member tuples.

Return value:

A tuplelist object.

Example usage:

  l = tuplelist([(1,2), (1,3), (2,4)])
  l = tuplelist([('A', 'B', 'C'), ('A', 'C', 'D')])