Next / Previous / Contents / TCC Help System / NM Tech homepage

7.1. ColorModel.__init__(): Constructor

All the constructor does is to store the arguments in the instance's namespace.

huey
# - - -   C o l o r M o d e l . _ _ i n i t _ _

    def __init__ ( self, modelName, labelList ):
        """Constructor for ColorModel."""
        self.modelName  =  modelName
        self.labelList  =  labelList