def unlink(link):
if islink(link) and platform.system() == "<STR_LIT>" and sys.version_info[:<NUM_LIT:2>] < (<NUM_LIT:3>, <NUM_LIT:5>):<EOL><INDENT>subprocess.check_call(["<STR_LIT>", link], shell=True)<EOL><DEDENT>else:<EOL><INDENT>os.unlink(link)<EOL><DEDENT>
os.unlink() but handle junction points on Windows.