Updated Node.__cmp__ to work with other types.
authorFrederic Jolliton <frederic@jolliton.com>
Mon, 12 Sep 2005 03:08:03 +0000 (03:08 +0000)
committerFrederic Jolliton <frederic@jolliton.com>
Mon, 12 Sep 2005 03:08:03 +0000 (03:08 +0000)
commite1a63a1fbe8133a8c55fbbf8b59479ee3fae5de2
tree19dd141e29414887d93b3363a1ddb3475b687f61
parentfc1b8f9defe1f6d9a4cbb9c000b51af62d05b1d4
Updated Node.__cmp__ to work with other types.

 * Update Node.__cmp__ to work when compared with other type.
   In such case, comparison is done according to type of both
   object, instead of comparing values.
git-archimport-id: frederic@jolliton.com--2005-main/tx--main--0.1--patch-24
nodes.py