config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/UserString.pyo

³ò
h”Rc@sàdZddkZddgZddd„ƒYZdefd„ƒYZedjoˆddkZeiiei	dƒ\Z
Zeiieƒ\ZZ
d	ei	jodd
klZde_nedeiƒƒndS(
sŽA user-defined wrapper around string objects

Note: string objects have grown methods in Python 1.6
This module requires Python 1.6 or later.
iÿÿÿÿNt
UserStringt
MutableStringcBsoeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„ZeZd„Zd„Zd„Zdeid„Zd;d;d„Zd;d;d„Zdeid„Zdd„Zdeid„Zdeid„Zd„Z d„Z!d„Z"d„Z#d „Z$d!„Z%d"„Z&d#„Z'd$„Z(d%„Z)d&„Z*d'„Z+d;d(„Z,d)„Z-d*d+„Z.deid,„Z/deid-„Z0d.„Z1d/„Z2d;d0„Z3d;d*d1„Z4d;d*d2„Z5dd3„Z6deid4„Z7d;d5„Z8d6„Z9d7„Z:d8„Z;d9„Z<d:„Z=RS(<cCsQt|tƒo
||_n1t|tƒo|i|_nt|ƒ|_dS(N(t
isinstancet
basestringtdataRtstr(tselftseq((s&/usr/local/lib/python2.5/UserString.pyt__init__
s

cCs
t|iƒS(N(RR(R((s&/usr/local/lib/python2.5/UserString.pyt__str__scCs
t|iƒS(N(treprR(R((s&/usr/local/lib/python2.5/UserString.pyt__repr__scCs
t|iƒS(N(tintR(R((s&/usr/local/lib/python2.5/UserString.pyt__int__scCs
t|iƒS(N(tlongR(R((s&/usr/local/lib/python2.5/UserString.pyt__long__scCs
t|iƒS(N(tfloatR(R((s&/usr/local/lib/python2.5/UserString.pyt	__float__scCs
t|iƒS(N(tcomplexR(R((s&/usr/local/lib/python2.5/UserString.pyt__complex__scCs
t|iƒS(N(thashR(R((s&/usr/local/lib/python2.5/UserString.pyt__hash__scCs;t|tƒot|i|iƒSnt|i|ƒSdS(N(RRtcmpR(Rtstring((s&/usr/local/lib/python2.5/UserString.pyt__cmp__scCs
||ijS(N(R(Rtchar((s&/usr/local/lib/python2.5/UserString.pyt__contains__!scCs
t|iƒS(N(tlenR(R((s&/usr/local/lib/python2.5/UserString.pyt__len__$scCs|i|i|ƒS(N(t	__class__R(Rtindex((s&/usr/local/lib/python2.5/UserString.pyt__getitem__%scCs5t|dƒ}t|dƒ}|i|i||!ƒS(Ni(tmaxRR(Rtstarttend((s&/usr/local/lib/python2.5/UserString.pyt__getslice__&scCsqt|tƒo|i|i|iƒSnCt|tƒo|i|i|ƒSn|i|it|ƒƒSdS(N(RRRRRR(Rtother((s&/usr/local/lib/python2.5/UserString.pyt__add__*s
cCsFt|tƒo|i||iƒSn|it|ƒ|iƒSdS(N(RRRRR(RR$((s&/usr/local/lib/python2.5/UserString.pyt__radd__1scCs|i|i|ƒS(N(RR(Rtn((s&/usr/local/lib/python2.5/UserString.pyt__mul__6scCs|i|i|ƒS(N(RR(Rtargs((s&/usr/local/lib/python2.5/UserString.pyt__mod__9scCs|i|iiƒƒS(N(RRt
capitalize(R((s&/usr/local/lib/python2.5/UserString.pyR+=scGs|i|ii||ŒƒS(N(RRtcenter(RtwidthR)((s&/usr/local/lib/python2.5/UserString.pyR,>sicCs|ii|||ƒS(N(Rtcount(RtsubR!R"((s&/usr/local/lib/python2.5/UserString.pyR.@scCse|oD|o |i|ii||ƒƒSqa|i|ii|ƒƒSn|i|iiƒƒSdS(N(RRtdecode(Rtencodingterrors((s&/usr/local/lib/python2.5/UserString.pyR0Bs
 cCse|oD|o |i|ii||ƒƒSqa|i|ii|ƒƒSn|i|iiƒƒSdS(N(RRtencode(RR1R2((s&/usr/local/lib/python2.5/UserString.pyR3Js
 cCs|ii|||ƒS(N(Rtendswith(RtsuffixR!R"((s&/usr/local/lib/python2.5/UserString.pyR4RsicCs|i|ii|ƒƒS(N(RRt
expandtabs(Rttabsize((s&/usr/local/lib/python2.5/UserString.pyR6TscCs|ii|||ƒS(N(Rtfind(RR/R!R"((s&/usr/local/lib/python2.5/UserString.pyR8VscCs|ii|||ƒS(N(RR(RR/R!R"((s&/usr/local/lib/python2.5/UserString.pyRXscCs
|iiƒS(N(Rtisalpha(R((s&/usr/local/lib/python2.5/UserString.pyR9ZscCs
|iiƒS(N(Rtisalnum(R((s&/usr/local/lib/python2.5/UserString.pyR:[scCs
|iiƒS(N(Rt	isdecimal(R((s&/usr/local/lib/python2.5/UserString.pyR;\scCs
|iiƒS(N(Rtisdigit(R((s&/usr/local/lib/python2.5/UserString.pyR<]scCs
|iiƒS(N(Rtislower(R((s&/usr/local/lib/python2.5/UserString.pyR=^scCs
|iiƒS(N(Rt	isnumeric(R((s&/usr/local/lib/python2.5/UserString.pyR>_scCs
|iiƒS(N(Rtisspace(R((s&/usr/local/lib/python2.5/UserString.pyR?`scCs
|iiƒS(N(Rtistitle(R((s&/usr/local/lib/python2.5/UserString.pyR@ascCs
|iiƒS(N(Rtisupper(R((s&/usr/local/lib/python2.5/UserString.pyRAbscCs|ii|ƒS(N(Rtjoin(RR((s&/usr/local/lib/python2.5/UserString.pyRBcscGs|i|ii||ŒƒS(N(RRtljust(RR-R)((s&/usr/local/lib/python2.5/UserString.pyRCdscCs|i|iiƒƒS(N(RRtlower(R((s&/usr/local/lib/python2.5/UserString.pyRDfscCs|i|ii|ƒƒS(N(RRtlstrip(Rtchars((s&/usr/local/lib/python2.5/UserString.pyREgscCs|ii|ƒS(N(Rt	partition(Rtsep((s&/usr/local/lib/python2.5/UserString.pyRGhsiÿÿÿÿcCs|i|ii|||ƒƒS(N(RRtreplace(Rtoldtnewtmaxsplit((s&/usr/local/lib/python2.5/UserString.pyRIjscCs|ii|||ƒS(N(Rtrfind(RR/R!R"((s&/usr/local/lib/python2.5/UserString.pyRMlscCs|ii|||ƒS(N(Rtrindex(RR/R!R"((s&/usr/local/lib/python2.5/UserString.pyRNnscGs|i|ii||ŒƒS(N(RRtrjust(RR-R)((s&/usr/local/lib/python2.5/UserString.pyROpscCs|ii|ƒS(N(Rt
rpartition(RRH((s&/usr/local/lib/python2.5/UserString.pyRPrscCs|i|ii|ƒƒS(N(RRtrstrip(RRF((s&/usr/local/lib/python2.5/UserString.pyRQtscCs|ii||ƒS(N(Rtsplit(RRHRL((s&/usr/local/lib/python2.5/UserString.pyRRuscCs|ii||ƒS(N(Rtrsplit(RRHRL((s&/usr/local/lib/python2.5/UserString.pyRSwscCs|ii|ƒS(N(Rt
splitlines(Rtkeepends((s&/usr/local/lib/python2.5/UserString.pyRTyscCs|ii|||ƒS(N(Rt
startswith(RtprefixR!R"((s&/usr/local/lib/python2.5/UserString.pyRVzscCs|i|ii|ƒƒS(N(RRtstrip(RRF((s&/usr/local/lib/python2.5/UserString.pyRX|scCs|i|iiƒƒS(N(RRtswapcase(R((s&/usr/local/lib/python2.5/UserString.pyRY}scCs|i|iiƒƒS(N(RRttitle(R((s&/usr/local/lib/python2.5/UserString.pyRZ~scGs|i|ii|ŒƒS(N(RRt	translate(RR)((s&/usr/local/lib/python2.5/UserString.pyR[scCs|i|iiƒƒS(N(RRtupper(R((s&/usr/local/lib/python2.5/UserString.pyR\scCs|i|ii|ƒƒS(N(RRtzfill(RR-((s&/usr/local/lib/python2.5/UserString.pyR]‚sN(>t__name__t
__module__RR	RR
RRRRRRRRR#R%R&R(t__rmul__R*R+R,tsystmaxintR.tNoneR0R3R4R6R8RR9R:R;R<R=R>R?R@RARBRCRDRERGRIRMRNRORPRQRRRSRTRVRXRYRZR[R\R](((s&/usr/local/lib/python2.5/UserString.pyRsr																																						cBsbeZdZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„ZRS(sœmutable string objects

    Python strings are immutable objects.  This has the advantage, that
    strings may be used as dictionary keys.  If this property isn't needed
    and you insist on changing string values in place instead, you may cheat
    and use MutableString.

    But the purpose of this class is an educational one: to prevent
    people from inventing their own mutable string class derived
    from UserString and than forget thereby to remove (override) the
    __hash__ method inherited from UserString.  This would lead to
    errors that would be very hard to track down.

    A faster and better solution is to rewrite your program using lists.tcCs
||_dS(N(R(RR((s&/usr/local/lib/python2.5/UserString.pyR“scCs
td‚dS(Nsunhashable type (it is mutable)(t	TypeError(R((s&/usr/local/lib/python2.5/UserString.pyR•scCsx|djo|t|iƒ7}n|djp|t|iƒjo
t‚n|i| ||i|d|_dS(Nii(RRt
IndexError(RRR/((s&/usr/local/lib/python2.5/UserString.pyt__setitem__—s

#
cCst|djo|t|iƒ7}n|djp|t|iƒjo
t‚n|i| |i|d|_dS(Nii(RRRf(RR((s&/usr/local/lib/python2.5/UserString.pyt__delitem__œs

#
cCs°t|dƒ}t|dƒ}t|tƒo&|i| |i|i||_nYt|tƒo#|i| ||i||_n&|i| t|ƒ|i||_dS(Ni(R RRRRR(RR!R"R/((s&/usr/local/lib/python2.5/UserString.pyt__setslice__¡s&#cCs=t|dƒ}t|dƒ}|i| |i||_dS(Ni(R R(RR!R"((s&/usr/local/lib/python2.5/UserString.pyt__delslice__©scCs
t|iƒS(N(RR(R((s&/usr/local/lib/python2.5/UserString.pyt	immutable¬scCsbt|tƒo|i|i7_n9t|tƒo|i|7_n|it|ƒ7_|S(N(RRRRR(RR$((s&/usr/local/lib/python2.5/UserString.pyt__iadd__®scCs|i|9_|S(N(R(RR'((s&/usr/local/lib/python2.5/UserString.pyt__imul__¶s(R^R_t__doc__RRRgRhRiRjRkRlRm(((s&/usr/local/lib/python2.5/UserString.pyR„s							t__main__is-q(ttest_supports
test.test_((RnRat__all__RRR^tostpathRRtargvt
called_in_dirt	called_astsplitexttpyttestRptverboset
__import__RD(((s&/usr/local/lib/python2.5/UserString.pys<module>sx6



Man Man