Next / Previous / Contents / Shipman's homepage

65. WordBank.genAllWords(): Generate all the words

kkck
# - - -   W o r d B a n k . g e n A l l W o r d s

    def genAllWords ( self ):
        '''Generate all the words in self.
        '''
        #-- 1 --
        for word in self.__wordToSlots.keys():
            yield word

        #-- 2 --
        raise StopIteration