Kludge around Python 2.6's brokenness

In Python 2.6, type.__subclasscheck__ doesn't allow up-chaining with two
arguments.