0
我正在使用python 3.5,我有一个列表c。与c.sort()TypeError:无法订购的类型:Node()<Node()
当我试图做
c.sort() ## sort the nodes by count, using the __cmp__ function defined in the node class
我得到的错误TypeError: unorderable types: Node() < Node()
你知道如何解决这个问题?