MCPcopy Index your code
hub / github.com/InstaPy/InstaPy / remove_duplicates_preserving_order

Function remove_duplicates_preserving_order

instapy/commenters_util.py:43–46  ·  view source on GitHub ↗
(seq)

Source from the content-addressed store, hash-verified

41
42
43def remove_duplicates_preserving_order(seq):
44 seen = set()
45 seen_add = seen.add
46 return [x for x in seq if not (x in seen or seen_add(x))]
47
48
49def extract_post_info(browser, logger):

Callers 1

extract_informationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected