def get_eol_chars_from_os_name(os_name):
 for (eol_chars, name) in EOL_CHARS:
  if (name == os_name):
   return eol_chars

def get_eol_chars_from_os_name ( os_name ) : for ( eol_chars , name ) in EOL_CHARS : if ( name == os_name ) : return eol_chars
return eol characters from os name .