Next / Previous / Contents / Shipman's homepage

15.2. Hier.__getitem__(): Return the (k)th rank

nomcompile3
# - - -   H i e r . _ _ g e t i t e m _ _

    def __getitem__ ( self, k ):
        '''Return the (k)th rank.
        '''
        return self.__rankList[k]