Uranium
Application Framework
|
A variation of WeakImmutableList which holds a pair of values using weak refernces. More...
Inherits Generic, T, U, and Iterable.
Public Member Functions | |
__init__ (self) | |
"WeakImmutablePairList[T,U]" | append (self, T left_item, U right_item) |
Append an item and return a new list. | |
"WeakImmutablePairList[T,U]" | remove (self, T left_item, U right_item) |
Remove an item and return a list. | |
__iter__ (self) | |
A variation of WeakImmutableList which holds a pair of values using weak refernces.
"WeakImmutablePairList[T,U]" UM.Signal.WeakImmutablePairList.append | ( | self, | |
T | left_item, | ||
U | right_item | ||
) |
Append an item and return a new list.
item | the item to append |
"WeakImmutablePairList[T,U]" UM.Signal.WeakImmutablePairList.remove | ( | self, | |
T | left_item, | ||
U | right_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.
item | item to remove |