Python 2.4 compatibility: no empty inheritance list

This fixes issue #46