MCPcopy Create free account
hub / github.com/PageBot/PageBot / commaString2IntegerList

Function commaString2IntegerList

Lib/pagebot/toolbox/transformer.py:447–453  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

445 return t
446
447def commaString2IntegerList(s):
448 l = []
449 for word in commaString2List(s):
450 number = asInt(word)
451 if number is not None:
452 l.append(number)
453 return l
454
455def list2String(l, separator=''):
456 return separator.join([asString(ll) for ll in l])

Callers

nothing calls this directly

Calls 3

commaString2ListFunction · 0.85
asIntFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected