(self, v)
This method will only be called if the requested color index is
        outside the size of the palette. In that case, we throw an exception
This method will only be called if the requested color index is
        outside the size of the palette. In that case, we throw an exception
This method will only be called if the requested color index is outside the size of the palette . In that case we throw an exception
def _get(self, v):
        """This method will only be called if the requested color index is
        outside the size of the palette. In that case, we throw an exception"""
        raise ValueError("palette index outside bounds: %s" % v)
def _get ( self , v ) : raise ValueError ( "palette index outside bounds: %s" % v )