MCPcopy
hub / github.com/pyload/pyload / normalize

Method normalize

module/lib/feedparser.py:2044–2045  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

2042 return sFolded
2043
2044 def normalize(self, s):
2045 return re.sub(r'\s+', ' ', s).strip()
2046
2047 def unique(self, aList):
2048 results = []

Callers 3

getPropertyValueMethod · 0.95
findVCardsMethod · 0.95
normalizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected