On 16/04/2008, Ricardo Aráoz <[EMAIL PROTECTED]> wrote:
>  You just have to use maketrans with empty strings. If string is
>  deprecated then I guess some other way of creating translation tables
>  will be provided.

Most string.* functions are deprecated, because they've been moved to
methods of strings. (e.g. string.capitalize(s) --> s.capitalize())

But that doesn't work for a couple of functions, like maketrans, so
those functions are not deprecated.

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to