'strip' documentation for beginners <g>

Duncan Booth duncan at NOSPAMrcp.co.uk
Tue Mar 4 15:12:07 CET 2003

Dan Rawson <daniel.rawson.take!this!out!@asml.nl> wrote in
news:b4269h$1q04qc$1 at ID-122008.news.dfncis.de: 

> The documentation for string.strip states that it can take an optional
> second parameter, but it doesn't appear to work: 
This has been discussed previously. Python 2.3 works as advertised.


for the last thread on this topic.

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