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/_xmlplus/dom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/dom/NamedNodeMap.pyc
mò
ìm>c@s§dZdkZdfd„ƒYZdklZdklZdklZdklZdklZd	kl	Z	d
kl
Z
dklZdeifd
„ƒYZdS(sÉ
WWW: http://4suite.com/4DOM         e-mail: support@4suite.com

Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
See  http://4suite.com/COPYRIGHT  for license and copyright information
Nt_NamedNodeMapItercBs tZdZd„Zd„ZRS(stIterator class for Python 2.2. The iterator function
    is .next, the stop-iterator element is the iterator itself.cCsd|_||_dS(Ni(tselftpostmap(RR((t=/usr/lib/python2.4/site-packages/_xmlplus/dom/NamedNodeMap.pyt__init__s	cCsFy(|i|i}|id|_|SWntj
o|SnXdS(Ni(RRRtrest
IndexError(RR((Rtnexts(t__name__t
__module__t__doc__RR(((RRs	(sNode(sEMPTY_NAMESPACE(sNoModificationAllowedErr(sNotFoundErr(sNotSupportedErr(sWrongDocumentErr(sInuseAttributeErr(sNamespaceErrtNamedNodeMapcBs¤tZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„Zd„ZRS(NcCs&tii|ƒ||_g|_dS(N(tUserDictRRtownerDoct_ownerDocumentt
_positions(RR((RR(s	cCs(|djot|ƒSntt|ƒS(Ntlength(tnametlenRtgetattrR(RR((Rt__getattr__/s
cCs+|djo
tƒ‚n||i|<dS(NR(RtNoModificationAllowedErrtvalueRt__dict__(RRR((Rt__setattr__4s

cCs
t|ƒS(N(RR(R((Rt_get_length;scCsAd|jot|ƒjno||it|ƒSndS(Ni(tindexRRRtinttNone(RR((Rtitem@s$cCs9y||SWn&tj
o|it|fƒSnXdS(N(RRtKeyErrortgettEMPTY_NAMESPACE(RR((RtgetNamedItemEscCsE|i|ƒ}|p|it|ƒSn||=|ii|ƒ|S(N(RR RtoldtremoveNamedItemNSR!Rtremove(RRR#((RtremoveNamedItemLscCsà|i|ijo
tƒ‚n|itijo|idjo
t
ƒ‚n|i}|i
|ƒ}tii|||ƒ|pW|i
t|fƒ}|o'|iit|fƒ|t|f=n|ii|ƒn|S(N(RRtargt
ownerDocumenttWrongDocumentErrtnodeTypetNodetATTRIBUTE_NODEtownerElementRtInuseAttributeErrtnodeNameRR tretvalR
t__setitem__R!RR%tappend(RR'RR0((RtsetNamedItemUs
#
	cCs0|djotdƒ‚n|i||fƒS(Nts*Use None instead of '' for empty namespace(tnamespaceURItNamespaceErrRR t	localName(RR5R7((RtgetNamedItemNSes
cCsÆ|i|ijo
tƒ‚n|itijo|idjo
t
ƒ‚n|idjotdƒ‚n|i|i
f}|i|ƒ}tii|||ƒ|p|ii|ƒn|S(NR4s*Use None instead of '' for empty namespace(RRR'R(R)R*R+R,R-RR.R5R6R7RR R0R
R1RR2(RR'RR0((RtsetNamedItemNSjs
#
cCsg|djotdƒ‚n||f}|i|ƒ}|p
tƒ‚n||=|ii	|ƒ|S(NR4s*Use None instead of '' for empty namespace(
R5R6R7RRR R#tNotFoundErrRR%(RR5R7R#R((RR$xs

cCs=t|ƒtdƒjo|i|}ntii||ƒS(Ni(ttypeRRRR
t__getitem__(RR((RR<…scCs
tƒ‚dS(N(tNotSupportedErr(RRR((RR1ŠscCst|ƒ}t|i|ƒS(N(RRtititerR(RR>((Rt__iter__scCspdt|ƒ}x:|iƒD],}|t|ƒdt||ƒd}qWt|ƒo|d }n|dS(Ns<NamedNodeMap at %x: {s: s, iþÿÿÿs}>(tidRtsttkeystktreprR(RRDRB((Rt__repr__‘s
*
cCs
||_dS(N(tnewOwnerRR(RRG((Rt_4dom_setOwnerDocument›scCs^|i|ƒ}xH|D]@}|io|i|i|ƒƒq|i|i|ƒƒqW|S(N(	Rt	__class__townertnnmRR7R9t_4dom_cloneR3(RRJRRK((RRLžs
(R	R
RRRRRRR"R&R3R8R9R$R<R1R@RFRHRL(((RR's"											
				
	(
RR
Rtxml.domR+R!RR:R=R)R.R6R(R+R:R.RR
R=RRR)R!R6((Rt?s	









Anon7 - 2021