cls

returns a class name or space separated class names.

Source


def cls(self):
    if 'class' in self._attr: return self._attr['class']
    else: return None