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

Terry Reedy tjreedy at udel.edu
Fri Apr 11 08:48:50 EDT 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
fine:

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.

tjr






More information about the Python-list mailing list