Hi, I am getting the following errorTypeError: sort() takes no keyword arguments

gaurav kashyap gauravkec2005 at gmail.com
Fri Oct 17 00:53:10 EDT 2008


Hi all,
I am using python version 2.3.in a program ,
I have called the sort function.Wherein,
a.sort(reverse=True)
is giving the following error:

TypeError: sort() takes no keyword arguments.

It works in python 2.4,What can be the alternative in python 2.3

Thanks ,
Gaurav




More information about the Python-list mailing list