Indexed set class. This is a special type of set whose members are
mutable objects with an immutable attribute. These overall-mutable
members can then be accessed in dict style, using the index as key.
|
new empty set object
|
|
object
|
|
|
|
|
|
|
|
|
|
update(self,
*args)
Update the set with the union of itself and other iterables. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
copy(self)
Return a copy of the set with shallow copies of all members. |
source code
|
|
list
|
|
bool
|
has_key(self,
key)
Return whether this set contains an item with a given index. |
source code
|
|
|
Inherited from set:
__and__,
__cmp__,
__contains__,
__eq__,
__ge__,
__getattribute__,
__gt__,
__iand__,
__ior__,
__isub__,
__iter__,
__ixor__,
__le__,
__len__,
__lt__,
__ne__,
__new__,
__or__,
__rand__,
__reduce__,
__repr__,
__ror__,
__rsub__,
__rxor__,
__sizeof__,
__sub__,
__xor__,
clear,
discard,
intersection,
isdisjoint,
issubset,
issuperset,
pop,
remove,
union
Inherited from object:
__delattr__,
__format__,
__reduce_ex__,
__setattr__,
__str__,
__subclasshook__
|