Next / Previous / Contents / Shipman's homepage

7.7. Hier.__len__()

Returns the length of self, that is, the number of ranks.

xnomo3.py
# - - -   H i e r . _ _ l e n _ _   - - -

    def __len__ ( self ):
        """Return the length of self (rank count)."""
        return len ( self.__rankList )