Next / Previous / Contents / Shipman's homepage

6.7. UniData.genBlocks(): Generate the code blocks

unidata.py
# - - -   U n i D a t a . g e n B l o c k s

    def genBlocks(self):
        '''Generate the blocks in self.
        '''
        for key in sorted(self._blockMap):
            yield self._blockMap[key]