John Nagle wrote in news:[EMAIL PROTECTED] in 
comp.lang.python:

>    Does
> 
>      text = unicode(text)
> 
> make a copy of a Unicode string, or is that essentially a
> free operation if the input is already Unicode?
> 
>                     John Nagle
> 

http://docs.python.org/lib/built-in-funcs.html#l2h-78

  ... More precisely, if object is a Unicode string or subclass it 
  will return that Unicode string without any additional decoding 
  applied. 
  ...


Rob.
-- 
http://www.victim-prime.dsl.pipex.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to