e*zSr/SQrSSKJr SrSrSrSrSr S r S r S r S r S rSrSrSrSrSrSr\rSrSrSrSrSrSrSrSrSrSrSrSr S r!S!r"S"r#S#r$S$r%S%r&S&r'S@S'jr(S(r)"S)S*5r*"S+S,5r+"S-S.5r,S/r-S0r.S1r/S2r0S3r1S4r2S5r3S6r4S7r5S8r6S9r7S:r8S;r9S<r:SS=K;7 SS>K;Jr \r=\r>\r?\r@\ rA\ rB\ rC\rD\rE\rF\)rG\rH\rI\rJ\rK\rL\rM\rN\rO\rP\rQ\rR\rS\rT\rU\rV\ rW\!rX\"rY\$rZ\%r[\'r\\-r]\.r^\/r_\0r`\1ra\2rb\3rc\4rd\5re\6rf\7rg\8rh\9ri\:rjg?!\<a Nef=f)Aas Operator Interface This module exports a set of functions corresponding to the intrinsic operators of Python. For example, operator.add(x, y) is equivalent to the expression x+y. The function names are those used for special methods; variants without leading and trailing '__' are also provided for convenience. This is the pure Python implementation of the module. )7absaddand_ attrgettercallconcatcontainscountOfdelitemeqfloordivgegetitemgtiaddiandiconcat ifloordivilshiftimatmulimodimulindexindexOfinvinvertioripowirshiftis_is_notisub itemgetteritruedivixorle length_hintlshiftltmatmul methodcallermodmulnenegnot_or_pospowrshiftsetitemsubtruedivtruthxor)rc X:$)zSame as a < b.abs ./opt/imh/python3.13/lib/python3.13/operator.pyr(r( 5Lc X:*$)zSame as a <= b.r;r<s r?r%r% 6MrAc X:H$)zSame as a == b.r;r<s r?r r #rCrAc X:g$)zSame as a != b.r;r<s r?r-r-'rCrAc X:$)zSame as a >= b.r;r<s r?r r +rCrAc X:$)zSame as a > b.r;r<s r?rr/r@rAcU(+$)zSame as not a.r;r=s r?r/r/5s 5LrAcU(aS$S$)z*Return True if a is true, False otherwise.TFr;rIs r?r7r79s4%rAcXL$)zSame as a is b.r;r<s r?rr=s 6MrAcXL$)zSame as a is not b.r;r<s r?r r As :rAc[U5$)zSame as abs(a).)_absrIs r?rrGs 7NrAc X-$)zSame as a + b.r;r<s r?rrKr@rAc X-$)zSame as a & b.r;r<s r?rrOr@rAc X-$)zSame as a // b.r;r<s r?r r SrCrAc"UR5$)zSame as a.__index__().) __index__rIs r?rrWs ;;=rAcU)$)z Same as ~a.r;rIs r?rr[ 2IrAc X-$)zSame as a << b.r;r<s r?r'r'`rCrAc X-$)zSame as a % b.r;r<s r?r+r+dr@rAc X-$)zSame as a * b.r;r<s r?r,r,hr@rAc X-$)zSame as a @ b.r;r<s r?r)r)lr@rAcU*$)z Same as -a.r;rIs r?r.r.prUrAc X-$)zSame as a | b.r;r<s r?r0r0tr@rAcU7$)z Same as +a.r;rIs r?r1r1xrUrAc X-$)zSame as a ** b.r;r<s r?r2r2|rCrAc X- $)zSame as a >> b.r;r<s r?r3r3rCrAc X- $)zSame as a - b.r;r<s r?r5r5r@rAc X- $)zSame as a / b.r;r<s r?r6r6r@rAc X- $)zSame as a ^ b.r;r<s r?r8r8r@rAcr[US5(d#S[U5R-n[U5eX-$)z%Same as a + b, for a and b sequences. __getitem__!'%s' object can't be concatenatedhasattrtype__name__ TypeErrorr=r>msgs r?rrs4 1m $ $1DG4D4DDn 5LrAc X;$)z(Same as b in a (note reversed operands).r;r<s r?rrrCrAc<SnUHnX1LdX1:XdMUS- nM U$)z=Return the number of items in a which are, or which equal, b.r9r;)r=r>countis r?r r s* E  6QV QJE LrAcX g)zSame as del a[b].Nr;r<s r?r r s rAc X$)z Same as a[b].r;r<s r?rrs 4KrAcZ[U5Hup#X1LdX1:XdMUs $ [S5e)z!Return the first index of b in a.z$sequence.index(x): x not in sequence) enumerate ValueError)r=r>rpjs r?rrs.!  6QVH?@@rAc X U'g)zSame as a[b] = c.Nr;)r=r>cs r?r4r4s aDrAc[U[5(d#S[U5R-n[ U5e[ U5$![a Of=f[U5R nO![a Us$f=fU"U5nO![a Us$f=fU[LaU$[U[5(d#S[U5R-n[ U5eUS:a Sn[U5eU$)a Return an estimate of the number of items in obj. This is useful for presizing containers when building from an iterable. If the object supports len(), the result will be exact. Otherwise, it may over- or under-estimate by an arbitrary amount. The result will be an integer >= 0. z/'%s' object cannot be interpreted as an integerz'__length_hint__ must be integer, not %sr9z$__length_hint__() should return >= 0) isinstanceintrgrhrilen__length_hint__AttributeErrorNotImplementedru)objdefaultrkhintvals r?r&r&s gs # #@G}%%&n 3x    Cy(( 3i  n c3  8Cy!!"n Qw4o Js5 A AAA,, A;:A;?B BBcU"U0UD6$)zSame as obj(*args, **kwargs).r;)rargskwargss r?rrs   rAc4\rSrSrSrSrSrSrSrSr Sr g) ra> Return a callable object that fetches the given attribute(s) from its operand. After f = attrgetter('name'), the call f(r) returns r.name. After g = attrgetter('name', 'date'), the call g(r) returns (r.name, r.date). After h = attrgetter('name.first', 'name.last'), the call h(r) returns (r.name.first, r.name.last). )_attrs_callc^^U(dF[U[5(d [S5eU4UlUR S5mU4SjnX0lgU4U-Ul[ [[UR55mU4SjnX0lg)Nzattribute name must be a string.c0>THn[X5nM U$N)getattr)rnamenamess r?func!attrgetter.__init__..funcs!D!#,C" rAc0>^[U4SjT55$)Nc32># UH o"T5v M g7frr;).0getterrs r? 4attrgetter.__init__..func..s?wVVC[[wstuple)rgetterss`r?rrs?w???rA) rzstrrirsplitrrmapr)selfattrattrsrrrs @@r?__init__attrgetter.__init__sndC(( ABB'DKJJsOE J'E/DKC DKK89G @JrAc$URU5$rrrrs r?__call__attrgetter.__call__zz#rAc URR<SURR<SSR[ [ UR 55<S3$Nr(, )) __class__ __module__ __qualname__joinrreprrrs r?__repr__attrgetter.__repr__s?"nn77"nn99"iiD$++(>?A ArAc2URUR4$r)rrrs r? __reduce__attrgetter.__reduce__ ~~t{{**rAN rhrr__firstlineno____doc__ __slots__rrrr__static_attributes__r;rAr?rrs#$I$A +rArc4\rSrSrSrSrSrSrSrSr Sr g ) r"iz Return a callable object that fetches the given item(s) from its operand. After f = itemgetter(2), the call f(r) returns r[2]. After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3]) _itemsrcr^^T(dT4UlU4SjnX0lgT4T-=UlmU4SjnX0lg)Nc>UT$rr;)ritems r?r!itemgetter.__init__..funcs 4y rAc0>^[U4SjT55$)Nc3.># UH nTUv M g7frr;)rrprs r?r4itemgetter.__init__..func.. s3USVUsr)ritemss`r?rrs3U333rAr)rrrrs `` r?ritemgetter.__init__s5'DK !J#''E/ 1DK% 4JrAc$URU5$rrrs r?ritemgetter.__call__#rrAc URR<SURR<SSR[ [ UR 55<S3$r)rrrhrrrrrs r?ritemgetter.__repr__&s?"nn77"nn55"iiD$++(>?A ArAc2URUR4$r)rrrs r?ritemgetter.__reduce__+rrA)rrNrr;rAr?r"r"s# $I A +rAr"c4\rSrSrSrSrSrSrSrSr Sr g ) r*i.z Return a callable object that calls the given method on its operand. After f = methodcaller('name'), the call f(r) returns r.name(). After g = methodcaller('name', 'date', foo=1), the call g(r) returns r.name('date', foo=1). )_name_args_kwargsc|Xl[UR[5(d [S5eX lX0lg)Nzmethod name must be a string)rrzrrirr)rrrrs r?rmethodcaller.__init__7s. $**c**:; ;  rAc`[XR5"UR0URD6$r)rrrrrs r?rmethodcaller.__call__>s#sJJ'Dt||DDrAcj[UR5/nUR[[UR55 URSUR R 555 URR<SURR<SSRU5<S3$)Nc38# UHupU<SU<3v M g7f)=Nr;)rkvs r?r(methodcaller.__repr__..DsF1Eq!$1Esrrrr) rrextendrrrrrrrhr)rrs r?rmethodcaller.__repr__AsxTZZ ! Cdjj)* F1C1C1EFF"nn77"nn55"iio/ /rAcUR(d&URUR4UR-4$SSKJn U"URUR40URD6UR4$)Nr9)partial)rrrr functoolsr)rrs r?rmethodcaller.__reduce__IsQ||>>DJJ=4::#== = )4>>4::FF R RrA)rrrNrr;rAr?r*r*.s$ .IE/SrAr*cX- nU$)zSame as a += b.r;r<s r?rrSFA HrAcX-nU$)zSame as a &= b.r;r<s r?rrXrrAcv[US5(d#S[U5R-n[U5eX- nU$)z&Same as a += b, for a and b sequences.rcrdrerjs r?rr]s9 1m $ $1DG4D4DDnFA HrAcX-nU$)zSame as a //= b.r;r<s r?rreGA HrAcX-nU$)zSame as a <<= b.r;r<s r?rrjrrAcX-nU$)zSame as a %= b.r;r<s r?rrorrAcX-nU$)zSame as a *= b.r;r<s r?rrtrrAcX-nU$)zSame as a @= b.r;r<s r?rryrrAcX-nU$)zSame as a |= b.r;r<s r?rr~rrAcX-nU$)zSame as a **= b.r;r<s r?rrrrAcX-nU$)zSame as a >>= b.r;r<s r?rrrrAcX-nU$)zSame as a -= b.r;r<s r?r!r!rrAcX-nU$)zSame as a /= b.r;r<s r?r#r#rrAcX-nU$)zSame as a ^= b.r;r<s r?r$r$rrA)*)rN)r9)kr__all__builtinsrrNr(r%r r-r rr/r7rr rrr rrrr'r+r,r)r.r0r1r2r3r5r6r8rrr r rrr4r&rrr"r*rrrrrrrrrrrr!r#r$ _operator ImportError__lt____le____eq____ne____ge____gt____not____abs____add____and__r __floordiv__rS__inv__ __invert__ __lshift____mod____mul__ __matmul____neg____or____pos____pow__ __rshift____sub__ __truediv____xor__ __concat__ __contains__ __delitem__rc __setitem____iadd____iand__ __iconcat__ __ifloordiv__ __ilshift____imod____imul__ __imatmul____ior____ipow__ __irshift____isub__ __itruediv____ixor__r;rAr?r'sJ  8!       A %R %+%+N++> S SJ              ""                                        i  s D11D:9D: