Viewing file: MySQLdb.sets.Set-class.html (12.52 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
MySQLdb.sets.Set
Class Set
- Known Subclasses:
-
DBAPISet
A simple class for handling sets. Sets are immutable in the same
way numbers are.
Method Summary |
|
__init__ (self,
*values)
Use values to initialize the Set. |
|
__add__ (self,
other)
Union. |
|
__and__ (self,
other)
Intersection. |
|
__cmp__(self,
other)
|
|
__contains__(self,
value)
|
|
__eq__(self,
other)
|
|
__ge__(self,
other)
|
|
__getitem__(self,
n)
|
|
__getslice__(self,
n1,
n2)
|
|
__gt__(self,
other)
|
|
__hash__(self)
|
|
__le__(self,
other)
|
|
__len__(self)
|
|
__lt__(self,
other)
|
|
__mul__ (self,
other)
Intersection. |
|
__ne__(self,
other)
|
|
__or__ (self,
other)
Union. |
|
__repr__(self)
|
|
__str__ (self)
Returns the values as a comma-separated string. |
|
__sub__(self,
other)
|
|
__xor__ (self,
other)
Intersection's complement. |
__init__(self,
*values)
(Constructor)
Use values to initialize the Set. -
|
__add__(self,
other)
(Addition operator)
Union. -
|
__and__(self,
other)
(And operator)
Intersection. -
|
__mul__(self,
other)
Intersection. -
|
__or__(self,
other)
(Or operator)
Union. -
|
__str__(self)
(Informal representation operator)
Returns the values as a comma-separated string. -
|
__xor__(self,
other)
Intersection's complement. -
|
|