MCPcopy Index your code
hub / github.com/pyload/pyload / unique

Method unique

module/lib/feedparser.py:2047–2052  ·  view source on GitHub ↗
(self, aList)

Source from the content-addressed store, hash-verified

2045 return re.sub(r'\s+', ' ', s).strip()
2046
2047 def unique(self, aList):
2048 results = []
2049 for element in aList:
2050 if element not in results:
2051 results.append(element)
2052 return results
2053
2054 def toISO8601(self, dt):
2055 return time.strftime('%Y-%m-%dT%H:%M:%SZ', dt)

Callers 3

processTypeValueMethod · 0.95
iFunction · 0.80
iFunction · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected