Thanks Stefen

let me be more specific how would i have to write the following
function in the deprecated format

map(string.lower,list)

Thanks Anoop


Stefan Behnel wrote:
> Anoop wrote:
> > Can any one help me out with the various depricated string functions
> > that is followed in Python.
> >
> > For example how will be string.lower depricated.
> >
> > As far as string.lower('PYTHON') is concerned it is depricated as
> > 'PYTHON'.lower(). Both of them would return an output : >>> python
>
> I don't quite see the question in your post, but, yes, the module level
> functions of the "string" module are deprecated in favour of the methods of
> the str and unicode objects.
> 
> Stefan

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

Reply via email to