string.strip

Duncan Booth duncan at NOSPAMrcp.co.uk
Fri Nov 8 05:36:38 EST 2002


Gerhard Häring <gerhard.haering at opus-gmbh.net> wrote in
news:slrnasn36r.tk.gerhard.haering at haering.opus-gmbh.net: 

> In article <mailman.1036744990.32317.python-list at python.org>, Stano
> Paska wrote: 
>> Hi,
>> 
>> in documentation: string.strip(s[, chars])
>> but in real life strip takes only 1 parameter
>> 
>> I have python 2.2.2
> 
> But you've read the documentation for 2.3. (.../doc/current on
> python.org). 

Did you check your answer before posting?

See
http://www.python.org/doc/2.2.2/lib/module-string.html#l2h-698

-- 
Duncan Booth                                             duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?



More information about the Python-list mailing list