def get_eol_chars(text):
 for (eol_chars, _os_name) in EOL_CHARS:
  if (text.find(eol_chars) > (-1)):
   return eol_chars

def get_eol_chars ( text ) : for ( eol_chars , _os_name ) in EOL_CHARS : if ( text . find ( eol_chars ) > ( - 1 ) ) : return eol_chars
get text eol characters .