[Tutor] strip is deprecated, so what do I use?
William O'Higgins
william.ohiggins at utoronto.ca
Tue May 24 18:21:55 CEST 2005
As the subject says, I was looking for an analog to chomp, and found
strip() and friends (rstrip() and lstrip()), but they are deprecated.
I'm happy to forgo their use in preparation for 3.0 (I figure we're
going to live the rest of our lives in the future, we might as well be
ready) but I need an alternative syntax today, and I haven't been able
to see what I should use instead. Anyone have a suggestion?
--
yours,
William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.python.org/pipermail/tutor/attachments/20050524/5a27a412/attachment.pgp
More information about the Tutor
mailing list