pymel.util.trees.MutableSet

digraph inheritance3f694bd000 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "Set" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "Sized" -> "Set" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Iterable" -> "Set" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Container" -> "Set" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Container" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "Iterable" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "Sized" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "MutableSet" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "Set" -> "MutableSet" [arrowsize=0.5,style="setlinewidth(0.5)"];
}

class MutableSet
add(value)
Add an element.
clear()
This is slow (creates N new iterators!) but effective.
discard(value)
Remove an element. Do not raise an exception if absent.
pop()
Return the popped value. Raise KeyError if empty.
remove(value)
Remove an element. If not a member, raise a KeyError.

Previous topic

pymel.util.trees.MutableSequence

Next topic

pymel.util.trees.Sequence

Core

Core Modules

Other Modules

This Page