Next / Previous / Contents / Shipman's homepage

28.1. EqBind.__init__()

Calls the parent constructor, stores the attributes particular to this subclass.

nomcompile3
# - - -   E q B i n d . _ _ i n i t _ _

    def __init__ ( self, abbr, prefSym, engName ):
        '''Constructor for EqBind.
        '''
        #-- 1 --
        # [ self  :=  self as an instance of AbBind ]
        AbBind.__init__ ( self, abbr )

        #-- 2 --
        self.prefSym = prefSym
        self.engName = engName