#NEWLINE# def property_from_list( index ) : #NEWLINE# #INDENT# "Return the Nth item from a list, or '' if the list is shorter.\n\n  Args:\n    index: Item in the list to return.\n\n  Returns:\n    Function returning the item from a list, or '' if the list is too short.\n  " #NEWLINE# @ empty_if_none #NEWLINE# def property_from_list_lambda( values ) : #NEWLINE# #INDENT# if ( len ( values ) > index ) : #NEWLINE# #INDENT# return values [ index ] #NEWLINE# #UNINDENT# return '' #NEWLINE# #UNINDENT# return index