Anoop wrote:

> let me be more specific how would i have to write the following
> function in the deprecated format
> 
> map(string.lower,list)

What you just wrote is the deprecated format.

There are plenty of ways to write it in an undeprecated format. The 
simplest is probably:

    [ s.lower() for s in list ]

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to