def descendent(self, type=None):
    'Return the first descendent'
    return next(self.descendents(type), None)
Return the first descendent
def descendent(self, type=None):
    
    return next(self.descendents(type), None)