string() - Is this some kind of sick joke?

Terry Reedy tjreedy at
Fri Apr 11 14:48:50 CEST 2003

> >What gives?  Did I get the bogus version?  Is this wishful thinking
> >documentation?  I also tried  y.strip("'")  with the same results.
> I get that, too, on string.strip(y,"'"), but y.strip("'") works

I believe the inconsistencies have been fixed for the future 2.2.3 and
2.3.b1.  In the meanwhile, use the new string methods.


More information about the Python-list mailing list