def _GetNativeEolStyle(platform=sys.platform):
_NATIVE_EOL_STYLE_MAP = {<EOL>'<STR_LIT:win32>' : EOL_STYLE_WINDOWS,<EOL>'<STR_LIT>' : EOL_STYLE_UNIX,<EOL>'<STR_LIT>' : EOL_STYLE_UNIX,<EOL>'<STR_LIT>' : EOL_STYLE_MAC,<EOL>}<EOL>result = _NATIVE_EOL_STYLE_MAP.get(platform)<EOL>if result is None:<EOL><INDENT>from ._exceptions import UnknownPlatformError<EOL>raise UnknownPlatformError(platform)<EOL><DEDENT>return result<EOL>
Internal function that determines EOL_STYLE_NATIVE constant with the proper value for the
current platform.