Next / Previous / Contents / Shipman's homepage

68.2. Net4Field.flatten()

baseclasses.py
# - - -   N e t 4 F i e l d . f l a t t e n   - - -

    @staticmethod
    def flatten(net4Field):
        '''Flatten a Net4Field.
        '''
        if  net4Field is None:
            return BLANK_NET_OUT
        else:
            return net4Field.value.ljust(NET_OUT_L)