def _remove_duplicate_links(links):
    '\n    Return a list of links, with duplicates removed and ordering preserved.\n    '
    return list(OrderedDict.fromkeys(links))
Return a list of links, with duplicates removed and ordering preserved.
def _remove_duplicate_links(links):
    '\n    \n    '
    return list(OrderedDict.fromkeys(links))