def symlink_remove(link):
<EOL>if os.path.isdir(path2str(link)) and is_windows:<EOL><INDENT>os.rmdir(path2str(link))<EOL><DEDENT>else:<EOL><INDENT>os.unlink(path2str(link))<EOL><DEDENT>
Remove a symlink. Used for model shortcut links.

    link (unicode / Path): The path to the symlink.