Next / Previous / Contents / Shipman's homepage

10.2. KwicWord.add(): Add one reference

kwic.py
# - - -   K w i c W o r d . a d d

    def add(self, prefix, word, suffix, userData):
        '''Add one new KwicRef.
        '''
        #-- 1 --
        self.__refList.append ( KwicRef ( prefix, word, suffix,
                                  userData ) )