Sorry, quite busy. if type is void, then here it cannot be object, so this really is unnecessary (and dtype always NULL). Puzzles a bit why it was there in the first place, but it is not there for the other comparisons so I can't see it being necessary.