MCPcopy Index your code
hub / github.com/clips/pattern / unique

Method unique

pattern/web/feed/feedparser.py:2133–2138  ·  view source on GitHub ↗
(self, aList)

Source from the content-addressed store, hash-verified

2131 return re.sub(r'\s+', ' ', s).strip()
2132
2133 def unique(self, aList):
2134 results = []
2135 for element in aList:
2136 if element not in results:
2137 results.append(element)
2138 return results
2139
2140 def toISO8601(self, dt):
2141 return time.strftime('%Y-%m-%dT%H:%M:%SZ', dt)

Callers 5

processTypeValueMethod · 0.95
graph.jsFile · 0.80
test_uniqueMethod · 0.80
test_uniqueMethod · 0.80
test_uniqueMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by 3

test_uniqueMethod · 0.64
test_uniqueMethod · 0.64
test_uniqueMethod · 0.64