Hi,
I have the following piece of code where I try to override a method:
import Queue
class PriorityQueue(Queue.PriorityQueue):
def put(self, item):
super(PriorityQueue, self).put((item.priority, item))
However, when I run it I get TypeError
exception:
super() argument 1 must be type, not classobj
What is the problem?