Next / Previous / Contents / Shipman's homepage

38.3. WrpField.flatten()

baseclasses.py
# - - -   W r p F i e l d . f l a t t e n

    @staticmethod
    def flatten(wrp):
        '''Flatten a WRP molt cycle code.
        '''
        if wrp is None:
            return BLANK_WRP
        else:
            return wrp