Cost of "unicode(s)" where s is Unicode

John Nagle nagle at animats.com
Sun Jan 6 11:06:35 EST 2008


   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



More information about the Python-list mailing list