Two possible alternatives

# if you had another reason for a list comprehension
def unicode_wrap(listed):
     return [ unicode(i) for i in listed ]

def unicode_wrap(listed):
     return map(unicode, listed)

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to