The polite way to implement a virtual method in Python (like
this one) is to raise the NotImplementedError
exception. For the interface, see Section 7, “class ColorModel: Base class for color
models”.
# - - - C o l o r M o d e l . p a r a m s T o C o l o r
def paramsToColor ( self, params ):
raise NotImplementedError, "ColorModel.paramsToColor"