def _samefile(fname1, fname2):
if sys.platform.startswith('<STR_LIT>'):<EOL><INDENT>return os.path.normpath(os.path.normcase(fname1)) == os.path.normpath(os.path.normcase(fname2))<EOL><DEDENT>else:<EOL><INDENT>return os.path.samefile(fname1, fname2)<EOL><DEDENT>
OS independent `samefile` implementation.