config root man

Current Path : /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 : //usr/local/lib/python2.5/stringold.pyc

³ò
h”Rc@s.dZdZdZdZeeZdZeddZdZdZx$e	d	ƒD]Z
eee
ƒZqOW[
eZ
eZeZeZd
„Zd„Zd„Zd
„Zd„Zd„Zd*dd„ZeZdd„ZeZeZd„Zd„Zd„Z d„Z!d„Z"e#Z$e%Z&e'Z(e)dƒZ*d„Z+d„Z,d„Z-d„Z.d„Z/d„Z0d„Z1d d!„Z2dd"„Z3d#„Z4d*d$„Z5d*a6d%„Z7dd&„Z8ydiWne9j
od'd(k:TnXy0d'd)k;l7Z7lZlZlZeeZWne<j
onXd*S(+s8Common string manipulations.

Public module variables:

whitespace -- a string containing all characters considered whitespace
lowercase -- a string containing all characters considered lowercase letters
uppercase -- a string containing all characters considered uppercase letters
letters -- a string containing all characters considered letters
digits -- a string containing all characters considered decimal digits
hexdigits -- a string containing all characters considered hexadecimal digits
octdigits -- a string containing all characters considered octal digits

s 	

tabcdefghijklmnopqrstuvwxyztABCDEFGHIJKLMNOPQRSTUVWXYZt
0123456789tabcdeftABCDEFt01234567ticCs
|iƒS(sSlower(s) -> string

    Return a copy of the string s converted to lowercase.

    (tlower(ts((s%/usr/local/lib/python2.5/stringold.pyR+scCs
|iƒS(sSupper(s) -> string

    Return a copy of the string s converted to uppercase.

    (tupper(R((s%/usr/local/lib/python2.5/stringold.pyR	4scCs
|iƒS(s„swapcase(s) -> string

    Return a copy of the string s with upper case characters
    converted to lowercase and vice versa.

    (tswapcase(R((s%/usr/local/lib/python2.5/stringold.pyR
=scCs
|iƒS(smstrip(s) -> string

    Return a copy of the string s with leading and trailing
    whitespace removed.

    (tstrip(R((s%/usr/local/lib/python2.5/stringold.pyRGscCs
|iƒS(s]lstrip(s) -> string

    Return a copy of the string s with leading whitespace removed.

    (tlstrip(R((s%/usr/local/lib/python2.5/stringold.pyRQscCs
|iƒS(sbrstrip(s) -> string

    Return a copy of the string s with trailing whitespace
    removed.

    (trstrip(R((s%/usr/local/lib/python2.5/stringold.pyR
ZsicCs|i||ƒS(sVsplit(str [,sep [,maxsplit]]) -> list of strings

    Return a list of the words in the string s, using sep as the
    delimiter string.  If maxsplit is nonzero, splits into at most
    maxsplit words If sep is not specified, any whitespace string
    is a separator.  Maxsplit defaults to 0.

    (split and splitfields are synonymous)

    (tsplit(Rtseptmaxsplit((s%/usr/local/lib/python2.5/stringold.pyRest cCs
|i|ƒS(sÖjoin(list [,sep]) -> string

    Return a string composed of the words in list, with
    intervening occurrences of sep.  The default separator is a
    single space.

    (joinfields and join are synonymous)

    (tjoin(twordsR((s%/usr/local/lib/python2.5/stringold.pyRts
cGst|i|ƒS(spindex(s, sub [,start [,end]]) -> int

    Like find but raises ValueError when the substring is not found.

    (t_applytindex(Rtargs((s%/usr/local/lib/python2.5/stringold.pyR…scGst|i|ƒS(srrindex(s, sub [,start [,end]]) -> int

    Like rfind but raises ValueError when the substring is not found.

    (Rtrindex(RR((s%/usr/local/lib/python2.5/stringold.pyRŽscGst|i|ƒS(sÈcount(s, sub[, start[,end]]) -> int

    Return the number of occurrences of substring sub in string
    s[start:end].  Optional arguments start and end are
    interpreted as in slice notation.

    (Rtcount(RR((s%/usr/local/lib/python2.5/stringold.pyR—scGst|i|ƒS(sfind(s, sub [,start [,end]]) -> in

    Return the lowest index in s where substring sub is found,
    such that sub is contained within s[start,end].  Optional
    arguments start and end are interpreted as in slice notation.

    Return -1 on failure.

    (Rtfind(RR((s%/usr/local/lib/python2.5/stringold.pyR¢s
cGst|i|ƒS(srfind(s, sub [,start [,end]]) -> int

    Return the highest index in s where substring sub is found,
    such that sub is contained within s[start,end].  Optional
    arguments start and end are interpreted as in slice notation.

    Return -1 on failure.

    (Rtrfind(RR((s%/usr/local/lib/python2.5/stringold.pyR¯s
cCs>t|ƒtjot|ƒSntdt|ƒiƒ‚dS(sYatof(s) -> float

    Return the floating point number represented by the string s.

    s%argument 1: expected string, %s foundN(ttypet_StringTypet_floatt	TypeErrort__name__(R((s%/usr/local/lib/python2.5/stringold.pytatofÂscGs{y|d}Wn)tj
otdt|ƒƒ‚nXt|ƒtjott|ƒSntdt|ƒiƒ‚dS(ssatoi(s [,base]) -> int

    Return the integer represented by the string s in the given
    base, which defaults to 10.  The string s must consist of one
    or more digits, possibly preceded by a sign.  If base is 0, it
    is chosen from the leading characters of s, 0 for octal, 0x or
    0X for hexadecimal.  If base is 16, a preceding 0x or 0X is
    accepted.

    is/function requires at least 1 argument: %d givens%argument 1: expected string, %s foundN(t
IndexErrorRtlenRRRt_intR(RR((s%/usr/local/lib/python2.5/stringold.pytatoiÏscGs{y|d}Wn)tj
otdt|ƒƒ‚nXt|ƒtjott|ƒSntdt|ƒiƒ‚dS(s³atol(s [,base]) -> long

    Return the long integer represented by the string s in the
    given base, which defaults to 10.  The string s must consist
    of one or more digits, possibly preceded by a sign.  If base
    is 0, it is chosen from the leading characters of s, 0 for
    octal, 0x or 0X for hexadecimal.  If base is 16, a preceding
    0x or 0X is accepted.  A trailing L or l is not accepted,
    unless base is 0.

    is/function requires at least 1 argument: %d givens%argument 1: expected string, %s foundN(R!RR"RRRt_longR(RR((s%/usr/local/lib/python2.5/stringold.pytatolêscCs1|t|ƒ}|djo|Sn|d|S(s³ljust(s, width) -> string

    Return a left-justified version of s, in a field of the
    specified width, padded with spaces as needed.  The string is
    never truncated.

    iR(R"(Rtwidthtn((s%/usr/local/lib/python2.5/stringold.pytljusts
cCs1|t|ƒ}|djo|Snd||S(s´rjust(s, width) -> string

    Return a right-justified version of s, in a field of the
    specified width, padded with spaces as needed.  The string is
    never truncated.

    iR(R"(RR'R(((s%/usr/local/lib/python2.5/stringold.pytrjusts
cCsk|t|ƒ}|djo|Sn|d}|do|do|d}nd||d||S(s¬center(s, width) -> string

    Return a center version of s, in a field of the specified
    width. padded with spaces as needed.  The string is never
    truncated.

    iiiR(R"(RR'R(thalf((s%/usr/local/lib/python2.5/stringold.pytcenter s

cCs”t|ƒtdƒjo
|}n
t|ƒ}t|ƒ}||jo|Snd}|ddjo|d|d}}n|d|||S(s¡zfill(x, width) -> string

    Pad a numeric string x with zeros on the left, to fill a field
    of the specified width.  The string x is never truncated.

    Rit-t+it0(R-R.(RtreprR"(txR'RR(tsign((s%/usr/local/lib/python2.5/stringold.pytzfill3s

icCswd}}xb|D]Z}|djod|t|ƒ|}n||}|djo||}d}qqW||S(s×expandtabs(s [,tabsize]) -> string

    Return a copy of the string s with all tab characters replaced
    by the appropriate number of spaces, depending on the current
    column, and the tabsize (default 8).

    Rs	Rs
(R"(Rttabsizetrestlinetc((s%/usr/local/lib/python2.5/stringold.pyt
expandtabsEs




cCs|i||ƒS(s+translate(s,table [,deletechars]) -> string

    Return a copy of the string s, where all characters occurring
    in the optional argument deletechars are removed, and the
    remaining characters have been mapped through the given
    translation table, which must be a string of length 256.

    (t	translate(Rttablet	deletions((s%/usr/local/lib/python2.5/stringold.pyR9Xs	cCs
|iƒS(socapitalize(s) -> string

    Return a copy of the string s with only its first character
    capitalized.

    (t
capitalize(R((s%/usr/local/lib/python2.5/stringold.pyR<dscCs&ttt|i|ƒƒ|pdƒS(sùcapwords(s, [sep]) -> string

    Split the argument into words using split, capitalize each
    word using capitalize, and join the capitalized words using
    join. Note that this replaces runs of whitespace characters by
    a single space.

    R(RtmapR<R(RR((s%/usr/local/lib/python2.5/stringold.pytcapwordsns	cCs’t|ƒt|ƒjo
td‚ntptdtƒant}tt|ƒ}x,tt|ƒƒD]}|||||<qiWt|dƒS(sÁmaketrans(frm, to) -> string

    Return a translation table (a string of 256 bytes long)
    suitable for use in string.translate.  The strings frm and to
    must be of the same length.

    s)maketrans arguments must have same lengthRN(	R"t
ValueErrort_idmapLR=tNonet_idmaptordtrangeR(tfromstrttostrtLti((s%/usr/local/lib/python2.5/stringold.pyt	maketrans{s
cCs|i|||ƒS(sñreplace (str, old, new[, maxsplit]) -> string

    Return a copy of string str with all occurrences of substring
    old replaced by new. If the optional argument maxsplit is
    given, only the first maxsplit occurrences are replaced.

    (treplace(RtoldtnewR((s%/usr/local/lib/python2.5/stringold.pyRJsiÿÿÿÿ(t*(RIt	lowercaset	uppercaset
whitespaceN(=t__doc__RPRNROtletterstdigitst	hexdigitst	octdigitsRBRDRHtchrR?tindex_errort
atoi_errort
atof_errort
atol_errorRR	R
RRR
RARtsplitfieldsRt
joinfieldstapplyRRRRRRtfloatRtintR#tlongR%RRR R$R&R)R*R,R3R8R9R<R>R@RIRJtAttributeErrort	stringoldtstroptImportError(((s%/usr/local/lib/python2.5/stringold.pys<module>sv

					
	
									
	
	
			
	
			
	"

Man Man