Next / Previous / Contents / Shipman's homepage

15.5. Hier.lookupRankCode()

Note that rank codes are expected to be trimmed of trailing blanks.

nomcompile3
# - - -   H i e r . l o o k u p R a n k C o d e

    def lookupRankCode ( self, c ):
        '''Lookup a rank code.
        '''
        return self.__rankMap[c]