bibliopixel/animation/indexed.py
def animation(self):
        """
        :returns: the selected animation based on self.index, or None if
            self.index is out of bounds
        """
        if 0 <= self._index < len(self.animations):
            return self.animations[self._index]
def animation(self):
        """
        :returns: the selected animation based on self.index, or None if
            self.index is out of bounds
        """
        if 0 <= self._index < len(self.animations):
            return self.animations[self._index]
def animation ( self ) : if 0 <= self . _index < len ( self . animations ) : return self . animations [ self . _index ]
:returns: the selected animation based on self.index, or None if
            self.index is out of bounds
: returns : the selected animation based on self . index or None if self . index is out of bounds