Next / Previous / Contents / Shipman's homepage

20. Truths._oneCase(): Display the codes for one case

tracecase
# - - -   T r u t h s . _ o n e C a s e

    def _oneCase(self, casex):
        '''Return the codes comprising one case.

          [ 0 <= casex < self._caseCount ->
              return the concatenation of codes for self._condList
              at position casex ]
        '''
        #-- 1
        return ''.join([self._condList[condx][casex]
                        for condx in range(len(self._condList))])