attr

returns a attribute value or space separated values.

Arguments

Source


def attr(self, key):
    if not key in self._attr: return None
    else: return self._attr[key]