Next / Previous / Contents / Shipman's homepage

36. Puzzle.nSlots(): How many slots are there?

kkck
# - - -   P u z z l e . n S l o t s

    def nSlots ( self ):
        '''Return the number of slots in self.
        '''
        return len(self.__slotMap)