parameters: (field)
return_statement: return [x for x in text_list if x]
docstring: Returns the text as a list of lines.
docstring_summary: Returns the text as a list of lines.
docstring_tokens: Returns the text as a list of lines .
function: def getFieldAsLineList(field):
    """Returns the text as a list of lines."""
    field = field or ''
    text = field.replace('\r', '')
    text_list = text.split('\n')
    return [x for x in text_list if x]
function_tokens: def getFieldAsLineList ( field ) : field = field or '' text = field . replace ( '\r' , '' ) text_list = text . split ( '\n' ) return [ x for x in text_list if x ]