|
None | __init__ (self) |
|
"WeakImmutablePairList[T,U]" | append (self, T left_item, U right_item) |
|
"WeakImmutablePairList[T,U]" | remove (self, T left_item, U right_item) |
|
| __iter__ (self) |
|
A variation of WeakImmutableList which holds a pair of values using weak refernces.
◆ append()
"WeakImmutablePairList[T,U]" UM.Signal.WeakImmutablePairList.append |
( |
| self, |
|
|
T | left_item, |
|
|
U | right_item ) |
Append an item and return a new list
:param item: the item to append
:return: a new list
◆ remove()
"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.
:param item: item to remove
:return: a list which does not have the item.
The documentation for this class was generated from the following file: