frozenset :: Class frozenset
[hide private]
[frames] | no frames]

type frozenset

object --+
         |
        frozenset

frozenset(iterable) --> frozenset object

Build an immutable unordered collection of unique elements.

Instance Methods [hide private]
 
__and__(x, y)
x&y
 
__cmp__(x, y)
cmp(x,y)
 
__contains__(x, y)
y in x.
 
__eq__(x, y)
x==y
 
__ge__(x, y)
x>=y
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__gt__(x, y)
x>y
 
__hash__(x)
hash(x)
 
__iter__(x)
iter(x)
 
__le__(x, y)
x<=y
 
__len__(x)
len(x)
 
__lt__(x, y)
x<y
 
__ne__(x, y)
x!=y
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__or__(x, y)
x|y
 
__rand__(x, y)
y&x
 
__reduce__(...)
Return state information for pickling.
 
__repr__(x)
repr(x)
 
__ror__(x, y)
y|x
 
__rsub__(x, y)
y-x
 
__rxor__(x, y)
y^x
 
__sub__(x, y)
x-y
 
__xor__(x, y)
x^y
 
copy(...)
Return a shallow copy of a set.
 
difference(...)
Return the difference of two sets as a new set.
 
intersection(...)
Return the intersection of two sets as a new set.
 
issubset(...)
Report whether another set contains this set.
 
issuperset(...)
Report whether this set contains another set.
 
symmetric_difference(...)
Return the symmetric difference of two sets as a new set.
 
union(...)
Return the union of two sets as a new set.
Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__hash__(x)
(Hashing function)

 

hash(x)

Overrides: object.__hash__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__reduce__(...)

 

Return state information for pickling.

Overrides: object.__reduce__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

difference(...)

 

Return the difference of two sets as a new set.

(i.e. all elements that are in this set but not the other.)

intersection(...)

 

Return the intersection of two sets as a new set.

(i.e. all elements that are in both sets.)

symmetric_difference(...)

 

Return the symmetric difference of two sets as a new set.

(i.e. all elements that are in exactly one of the sets.)

union(...)

 

Return the union of two sets as a new set.

(i.e. all elements that are in either set.)