Next / Previous / Contents / Shipman's homepage

70.2. NoteField.flatten()

Standard field-flattener.

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

    @staticmethod
    def flatten(noteField):
        '''Flatten a NoteField.
        '''
        if  noteField is None:
            return BLANK_NOTE
        else:
            return noteField.value