Uranium
Application Framework
 All Classes Namespaces Files Functions Variables Pages
UM.Signal.WeakImmutablePairList Class Reference

A variation of WeakImmutableList which holds a pair of values using weak refernces. More...

Inherits Generic, T, U, and Iterable.

Public Member Functions

def __init__
 
def append
 Append an item and return a new list. More...
 
def remove
 Remove an item and return a list. More...
 
def __iter__
 

Detailed Description

A variation of WeakImmutableList which holds a pair of values using weak refernces.

Member Function Documentation

def UM.Signal.WeakImmutablePairList.append (   self,
  left_item 
)

Append an item and return a new list.

Parameters
itemthe item to append
Returns
a new list
def UM.Signal.WeakImmutablePairList.remove (   self,
  left_item 
)

Remove an item and return a list.

Note that unlike the normal Python list.remove() method, this ones doesn't throw a ValueError if the item isn't in the list.

Parameters
itemitem to remove
Returns
a list which does not have the item.

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