4 ms·
'|'.join(str(x) for x in y) # or '|'.join(map(str, y))
by jerf 13y ago
'|'.join(str(x) for x in y) # or
'|'.join(map(str, y))
- calroc 13y agoThe original use for that code was to build a list of parsing objects to create a single parsing object that was the OR'ing of the basic ones. Aw, heck, code speaks louder than words: https://github.com/PhoenixBureau/PigeonComputer/blob/master/pigeon/cola/bubbles.py#L200 https://github.com/PhoenixBureau/PigeonComputer/blob/master/...
- jerf 13y agointersperseM or $ map chartok whitespace Oh... wait... sorry... wrong language.